patch-2.0.34 linux/fs/buffer.c

Next file: linux/fs/devices.c
Previous file: linux/fs/binfmt_em86.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/fs/buffer.c linux/fs/buffer.c
@@ -1249,6 +1249,8 @@
 
 	clear_bit(BH_Lock, &bh->b_state);
 	wake_up(&bh->b_wait);
+	if (waitqueue_active(&buffer_wait))
+		wake_up(&buffer_wait);
 
 	if (!test_bit(BH_FreeOnIO, &bh->b_state))
 		return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov