aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-01-24 13:01:39 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2012-01-24 14:32:28 +0100
commit9318a6b947b9379c85631d0e85532d9aac6f1115 (patch)
tree2dc570ac482a4dd0230fa0d9067fd1537629c40e /include/fuse_lowlevel.h
parent66003c26313ee099ed6ccac35a10b0cbfbc7eb0d (diff)
downloadlibfuse-9318a6b947b9379c85631d0e85532d9aac6f1115.tar.gz
Revert "Add mmap() and munmap() methods to low level API"
This partially reverts commit 4b2157c44e6ad7e692fcffb7450143e83151d36b. Remove mmap/munmap suppor as this missed the interface changes for Linux-3.3 (API version 7.18). Only revert the mmap/munmap bits and leave the retrieve_reply API fix in place as well as the optimization in fuse_send_data_iov_fallback().
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index d4fb229..3ecc46e 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -996,37 +996,6 @@ struct fuse_lowlevel_ops {
*/
void (*flock) (fuse_req_t req, fuse_ino_t ino,
struct fuse_file_info *fi, int op);
-
- /**
- * Direct mmap (CUSE only for now)
- *
- * @param req request handle
- * @param ino the inode number
- * @param addr starting address (in clients address space)
- * @param length length of the mapping
- * @param prot desired memory protection of the mapping
- * @param flags mmap flags
- * @param fi file information
- *
- * Introduced in version 2.9
- */
- void (*mmap) (fuse_req_t req, fuse_ino_t ino, uint64_t addr,
- size_t length, int prot, int flags, off_t offset,
- struct fuse_file_info *fi);
-
- /**
- * Direct munmap (CUSE only for now)
- *
- * @param req request handle
- * @param ino the inode number
- * @param map_id identifies the mapping
- * @param length length of the mapping
- * @param fi file information
- *
- * Introduced in version 2.9
- */
- void (*munmap) (fuse_req_t req, fuse_ino_t ino, uint64_t map_id,
- size_t length, struct fuse_file_info *fi);
};
/**
@@ -1316,18 +1285,6 @@ int fuse_reply_ioctl_iov(fuse_req_t req, int result, const struct iovec *iov,
*/
int fuse_reply_poll(fuse_req_t req, unsigned revents);
-/**
- * Reply to an mmap request
- *
- * Possible requests:
- * mmap
- *
- * @param req request handle
- * @param map_id identifies the mapping
- * @param length length of the mapping (from zero offset)
- */
-int fuse_reply_mmap(fuse_req_t req, uint64_t map_id, size_t length);
-
/* ----------------------------------------------------------- *
* Notification *
* ----------------------------------------------------------- */