patch-2.4.20 linux-2.4.20/fs/reiserfs/buffer2.c

Next file: linux-2.4.20/fs/reiserfs/dir.c
Previous file: linux-2.4.20/fs/reiserfs/bitmap.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/fs/reiserfs/buffer2.c linux-2.4.20/fs/reiserfs/buffer2.c
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README  
+ *  Copyright 2000-2002 by Hans Reiser, licensing governed by reiserfs/README  
  */
 
 #include <linux/config.h>
@@ -33,8 +33,7 @@
 			buffer_journal_dirty(bh) ? ' ' : '!');
     }
     run_task_queue(&tq_disk);
-    current->policy |= SCHED_YIELD;
-    schedule();
+    yield();
   }
   if (repeat_counter > 30000000) {
     reiserfs_warning("vs-3051: done waiting, ignore vs-3050 messages for (%b)\n", bh) ;

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