* Readpage calls flush_dcache_page() after storing data
* Use i_size_read/write for accessing inode->i_size
+
+ * Make loopback mount of a fuse file work
2004-02-04 Miklos Szeredi <mszeredi@inf.bme.hu>
}
static struct file_operations fuse_file_operations = {
- .open = fuse_open,
- .release = fuse_release,
- .fsync = fuse_fsync,
- .read = fuse_file_read,
- .write = generic_file_write,
- .mmap = generic_file_mmap,
+ .read = fuse_file_read,
+ .write = generic_file_write,
+ .mmap = generic_file_mmap,
+ .open = fuse_open,
+ .release = fuse_release,
+ .fsync = fuse_fsync,
+#ifdef KERNEL_2_6
+ .sendfile = generic_file_sendfile,
+#endif
};
static struct address_space_operations fuse_file_aops = {