fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / jffs2 / os-linux.h
index 65c6c43ca482b4359e675be6c21a0f6d5d97ac69..9c252835e8e59507c8d9b56ddd985c5ed3e9ed84 100644 (file)
@@ -158,7 +158,7 @@ extern const struct inode_operations jffs2_dir_inode_operations;
 extern const struct file_operations jffs2_file_operations;
 extern const struct inode_operations jffs2_file_inode_operations;
 extern const struct address_space_operations jffs2_file_address_operations;
-int jffs2_fsync(struct file *, int);
+int jffs2_fsync(struct file *, loff_t, loff_t, int);
 int jffs2_do_readpage_unlock (struct inode *inode, struct page *pg);
 
 /* ioctl.c */