+2003-12-12 Miklos Szeredi <mszeredi@inf.bme.hu>
+
+ * Make it compile on 2.4.19.
+
+ * Add dummy fsync operation (write file failed on xemacs & vi)
+
2003-12-12 David McNab <david@rebirthing.co.nz>
* Added distutils support to the python module, as per standard
return 0;
}
+static int fuse_fsync(struct file *file, struct dentry *de, int datasync)
+{
+ return 0;
+}
static int fuse_readpage(struct file *file, struct page *page)
{
struct page *page;
char *buffer;
- page = find_or_create_page(mapping, index, GFP_NOFS);
+ page = grab_cache_page(mapping, index);
if (!page)
return -1;
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,