patch-1.3.89 linux/fs/buffer.c

Next file: linux/fs/isofs/rock.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.88/linux/fs/buffer.c linux/fs/buffer.c
@@ -1818,9 +1818,11 @@
 
 static void wakeup_bdflush(int wait)
 {
-	run_task_queue(&tq_disk);
 	wake_up(&bdflush_wait);
-	if(wait) sleep_on(&bdflush_done);
+	if (wait) {
+		run_task_queue(&tq_disk);
+		sleep_on(&bdflush_done);
+	}
 }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this