From 9318a6b947b9379c85631d0e85532d9aac6f1115 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 24 Jan 2012 13:01:39 +0100 Subject: 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(). --- include/cuse_lowlevel.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/cuse_lowlevel.h') diff --git a/include/cuse_lowlevel.h b/include/cuse_lowlevel.h index b8824fb..e147fa2 100644 --- a/include/cuse_lowlevel.h +++ b/include/cuse_lowlevel.h @@ -63,13 +63,6 @@ struct cuse_lowlevel_ops { const void *in_buf, size_t in_bufsz, size_t out_bufsz); void (*poll) (fuse_req_t req, struct fuse_file_info *fi, struct fuse_pollhandle *ph); - void (*mmap) (fuse_req_t req, uint64_t addr, size_t length, - int prot, int flags, off_t offset, - struct fuse_file_info *fi); - void (*munmap) (fuse_req_t req, uint64_t map_id, size_t length, - struct fuse_file_info *fi); - void (*retrieve_reply) (fuse_req_t req, void *cookie, uint64_t map_id, - off_t offset, struct fuse_bufvec *bufv); }; struct fuse_session *cuse_lowlevel_new(struct fuse_args *args, -- cgit v1.2.3