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

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)