patch-2.0.25 linux/include/linux/locks.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 7 14:02:23 1996
- Orig file:
v2.0.24/linux/include/linux/locks.h
- Orig date:
Thu Jul 25 20:26:46 1996
diff -u --recursive --new-file v2.0.24/linux/include/linux/locks.h linux/include/linux/locks.h
@@ -28,7 +28,7 @@
extern inline void lock_buffer(struct buffer_head * bh)
{
- if (set_bit(BH_Lock, &bh->b_state))
+ while (set_bit(BH_Lock, &bh->b_state))
__wait_on_buffer(bh);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov