patch-1.3.70 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/block/md.c
Previous file: linux/drivers/block/ide_modes.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Feb 28 08:42:33 1996
- Orig file:
v1.3.69/linux/drivers/block/ll_rw_blk.c
- Orig date:
Wed Feb 28 11:50:00 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -294,6 +294,8 @@
if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
bh->b_state = 0;
printk("attempt to access beyond end of device\n");
+ printk("%s: rw=%d, want=%d, limit=%d\n", kdevname(bh->b_dev),
+ rw, (sector + count)>>1, blk_size[major][MINOR(bh->b_dev)]);
return;
}
/* Uhhuh.. Nasty dead-lock possible here.. */
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