patch-2.3.34 linux/drivers/block/ide-disk.c
Next file: linux/drivers/block/ide-features.c
Previous file: linux/drivers/block/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Tue Dec 14 23:03:50 1999
- Orig file:
v2.3.33/linux/drivers/block/ide-disk.c
- Orig date:
Tue Dec 14 01:27:23 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/block/ide-disk.c linux/drivers/block/ide-disk.c
@@ -241,9 +241,10 @@
#ifdef CONFIG_BLK_DEV_PDC4030
rq->sector += nsect;
#endif
- if ((rq->nr_sectors -= nsect) <= 0)
- {
- spin_unlock_irqrestore(&io_request_lock, flags);
+ if ((rq->nr_sectors -= nsect) <= 0) {
+ printk("%s: multwrite: count=%d, current=%ld\n",
+ drive->name, nsect, rq->nr_sectors);
+ spin_unlock_irqrestore(&io_request_lock, flags);
break;
}
if ((rq->current_nr_sectors -= nsect) == 0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)