patch-1.3.45 linux/drivers/cdrom/aztcd.c
Next file: linux/drivers/cdrom/cdu31a.c
Previous file: linux/drivers/block/umc8672.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Nov 26 19:23:09 1995
- Orig file:
v1.3.44/linux/drivers/cdrom/aztcd.c
- Orig date:
Sat Nov 25 19:04:39 1995
diff -u --recursive --new-file v1.3.44/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -1005,7 +1005,7 @@
azt_transfer_is_active = 1;
while (CURRENT_VALID) {
if (CURRENT->bh) {
- if (!CURRENT->bh->b_lock)
+ if (!buffer_locked(CURRENT->bh))
panic(DEVICE_NAME ": block not locked");
}
azt_transfer();
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