patch-2.1.8 linux/include/linux/locks.h
Next file: linux/include/linux/module.h
Previous file: linux/include/linux/limits.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 7 19:51:20 1996
- Orig file:
v2.1.7/linux/include/linux/locks.h
- Orig date:
Mon Sep 30 11:19:00 1996
diff -u --recursive --new-file v2.1.7/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