diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-08-28 20:27:01 +0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-08-28 20:27:01 +0400 |
commit | 1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch) | |
tree | 501f88d32efe275560c2df1f6c7c6bacf72af4cf /drivers/scsi/sd.c | |
parent | 7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (diff) | |
download | linux-1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3.tar.xz |
[SCSI] convert the remaining mid-layer pieces to scsi_execute_req
After this, we just have some drivers, all the ULDs and the SPI
transport class using scsi_wait_req().
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 0410e1bf109a..15c2039059c9 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1299,8 +1299,9 @@ static inline int sd_do_mode_sense(struct scsi_request *SRpnt, int dbd, int modepage, unsigned char *buffer, int len, struct scsi_mode_data *data) { - return __scsi_mode_sense(SRpnt, dbd, modepage, buffer, len, - SD_TIMEOUT, SD_MAX_RETRIES, data); + return scsi_mode_sense(SRpnt->sr_device, dbd, modepage, buffer, len, + SD_TIMEOUT, SD_MAX_RETRIES, data, + SRpnt->sr_sense_buffer); } /* |