patch-2.4.20 linux-2.4.20/fs/jbd/revoke.c

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

diff -urN linux-2.4.19/fs/jbd/revoke.c linux-2.4.20/fs/jbd/revoke.c
@@ -137,8 +137,7 @@
 	if (!journal_oom_retry)
 		return -ENOMEM;
 	jbd_debug(1, "ENOMEM in " __FUNCTION__ ", retrying.\n");
-	current->policy |= SCHED_YIELD;
-	schedule();
+	yield();
 	goto repeat;
 }
 

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