patch-2.4.22 linux-2.4.22/drivers/scsi/scsi_lib.c

Next file: linux-2.4.22/drivers/scsi/scsi_scan.c
Previous file: linux-2.4.22/drivers/scsi/scsi_ioctl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/scsi/scsi_lib.c linux-2.4.22/drivers/scsi/scsi_lib.c
@@ -378,6 +378,7 @@
 		if ((bh = req->bh) != NULL) {
 			nsect = bh->b_size >> 9;
 			blk_finished_io(nsect);
+			blk_finished_sectors(req, nsect);
 			req->bh = bh->b_reqnext;
 			bh->b_reqnext = NULL;
 			sectors -= nsect;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)