patch-2.4.0-test3 linux/fs/qnx4/fsync.c

Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/proc/proc_misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/fs/qnx4/fsync.c linux/fs/qnx4/fsync.c
@@ -60,6 +60,7 @@
 	return 0;
 }
 
+#ifdef WTF
 static int sync_iblock(struct inode *inode, unsigned short *iblock,
 		       struct buffer_head **bh, int wait)
 {
@@ -83,6 +84,7 @@
 		return -1;
 	return 0;
 }
+#endif
 
 static int sync_direct(struct inode *inode, int wait)
 {
@@ -100,6 +102,7 @@
 	return err;
 }
 
+#ifdef WTF
 static int sync_indirect(struct inode *inode, unsigned short *iblock, int wait)
 {
 	int i;
@@ -146,8 +149,9 @@
 	brelse(dind_bh);
 	return err;
 }
+#endif
 
-int qnx4_sync_file(struct file *file, struct dentry *dentry)
+int qnx4_sync_file(struct file *file, struct dentry *dentry, int unused)
 {
         struct inode *inode = dentry->d_inode;
 	int wait, err = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)