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
-  Lines: 10
-  Date:
Thu Nov 28 15:53:15 2002
-  Orig file: 
linux-2.4.19/fs/jbd/revoke.c
-  Orig date: 
Mon Feb 25 11:38:08 2002
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)