patch-2.4.22 linux-2.4.22/fs/jbd/journal.c

Next file: linux-2.4.22/fs/jffs2/Makefile
Previous file: linux-2.4.22/fs/ioctl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/jbd/journal.c linux-2.4.22/fs/jbd/journal.c
@@ -912,7 +912,7 @@
 		__brelse(bh);
 	}
 
-	sync_dev(journal->j_dev);
+	fsync_no_super(journal->j_dev);
 	jbd_debug(1, "JBD: journal cleared.\n");
 
 	/* OK, fill in the initial static fields in the new superblock */

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