[SCSI] add residual argument to scsi_execute and scsi_execute_req
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 4 Dec 2008 05:24:39 +0000 (14:24 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:24 +0000 (11:24 -0600)
commitf4f4e47e4af6b02dd1c425b931c65d0165356e33
tree1bca97ce56703d7a101674cf6bf0d28576cf7201
parenta528ab7a324f1dbb3598ae0ecd238ab7dd974294
[SCSI] add residual argument to scsi_execute and scsi_execute_req

scsi_execute() and scsi_execute_req() discard the residual length
information. Some callers need it. This adds residual argument
(optional) to scsi_execute and scsi_execute_req.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/ata/libata-scsi.c
drivers/scsi/ch.c
drivers/scsi/scsi_ioctl.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_transport_spi.c
drivers/scsi/sd.c
drivers/scsi/ses.c
drivers/scsi/sr.c
drivers/scsi/sr_ioctl.c
include/scsi/scsi_device.h