patch-2.1.66 linux/fs/ext2/fsync.c
Next file: linux/fs/hpfs/hpfs_fs.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Mon Nov 24 13:04:56 1997
-  Orig file: 
v2.1.65/linux/fs/ext2/fsync.c
-  Orig date: 
Mon Nov 17 18:47:21 1997
diff -u --recursive --new-file v2.1.65/linux/fs/ext2/fsync.c linux/fs/ext2/fsync.c
@@ -96,10 +96,8 @@
 		 */
 		goto skip;
 
-	if (inode->i_size > EXT2_NDIR_BLOCKS*blocksize) {
-		err = fsync_dev(inode->i_dev);
-		goto skip;
-	}
+	if (inode->i_size > EXT2_NDIR_BLOCKS*blocksize)
+		return file_fsync(file, dentry);
 
 	for (wait=0; wait<=1; wait++)
 	{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov