patch-1.3.45 linux/drivers/cdrom/sjcd.c
Next file: linux/drivers/char/console.c
Previous file: linux/drivers/cdrom/optcd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Nov 26 19:23:10 1995
- Orig file:
v1.3.44/linux/drivers/cdrom/sjcd.c
- Orig date:
Thu Nov 9 11:23:48 1995
diff -u --recursive --new-file v1.3.44/linux/drivers/cdrom/sjcd.c linux/drivers/cdrom/sjcd.c
@@ -1334,7 +1334,7 @@
/*
* Who of us are paranoic?
*/
- if( CURRENT->bh && !( CURRENT->bh->b_lock ) )
+ if( CURRENT->bh && !buffer_locked(CURRENT->bh) )
panic( DEVICE_NAME ": block not locked" );
sjcd_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