patch-2.4.10 linux/fs/ext2/fsync.c
Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Sep 17 13:16:30 2001
-  Orig file: 
v2.4.9/linux/fs/ext2/fsync.c
-  Orig date: 
Mon Nov 27 17:36:06 2000
diff -u --recursive --new-file v2.4.9/linux/fs/ext2/fsync.c linux/fs/ext2/fsync.c
@@ -44,6 +44,7 @@
 	int err;
 	
 	err  = fsync_inode_buffers(inode);
+	err |= fsync_inode_data_buffers(inode);
 	if (!(inode->i_state & I_DIRTY))
 		return err;
 	if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)