patch-2.4.25 linux-2.4.25/fs/jbd/journal.c
Next file: linux-2.4.25/fs/jbd/transaction.c
Previous file: linux-2.4.25/fs/jbd/commit.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
2004-02-18 05:36:31.000000000 -0800
-  Orig file: 
linux-2.4.24/fs/jbd/journal.c
-  Orig date: 
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.24/fs/jbd/journal.c linux-2.4.25/fs/jbd/journal.c
@@ -253,6 +253,7 @@
 
 		/* Were we woken up by a commit wakeup event? */
 		if ((transaction = journal->j_running_transaction) != NULL &&
+		    journal->j_commit_interval &&
 		    time_after_eq(jiffies, transaction->t_expires)) {
 			journal->j_commit_request = transaction->t_tid;
 			jbd_debug(1, "woke because of timeout\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)