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

Next file: linux-2.4.23/fs/jbd/transaction.c
Previous file: linux-2.4.23/fs/inode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/fs/jbd/journal.c linux-2.4.23/fs/jbd/journal.c
@@ -705,7 +705,7 @@
 	init_MUTEX(&journal->j_checkpoint_sem);
 	init_MUTEX(&journal->j_sem);
 
-	journal->j_commit_interval = (HZ * 5);
+	journal->j_commit_interval = get_buffer_flushtime();
 
 	/* The journal is marked for error until we succeed with recovery! */
 	journal->j_flags = JFS_ABORT;

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