fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers
[deliverable/linux.git] / fs / hppfs / hppfs.c
index 85c098a499f33ce858bdfaf85f76f053bd1b9376..8635be5ffd97e90f443efeb09acdc6efa4d4cf39 100644 (file)
@@ -573,9 +573,10 @@ static int hppfs_readdir(struct file *file, void *ent, filldir_t filldir)
        return err;
 }
 
-static int hppfs_fsync(struct file *file, int datasync)
+static int hppfs_fsync(struct file *file, loff_t start, loff_t end,
+                      int datasync)
 {
-       return 0;
+       return filemap_write_and_wait_range(file->f_mapping, start, end);
 }
 
 static const struct file_operations hppfs_dir_fops = {
This page took 0.07401 seconds and 5 git commands to generate.