diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:27:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:27:01 -0400 |
commit | 1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch) | |
tree | 501f88d32efe275560c2df1f6c7c6bacf72af4cf /drivers/scsi/sd.c | |
parent | 7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (diff) |
[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 | |||
1299 | sd_do_mode_sense(struct scsi_request *SRpnt, int dbd, int modepage, | 1299 | sd_do_mode_sense(struct scsi_request *SRpnt, int dbd, int modepage, |
1300 | unsigned char *buffer, int len, struct scsi_mode_data *data) | 1300 | unsigned char *buffer, int len, struct scsi_mode_data *data) |
1301 | { | 1301 | { |
1302 | return __scsi_mode_sense(SRpnt, dbd, modepage, buffer, len, | 1302 | return scsi_mode_sense(SRpnt->sr_device, dbd, modepage, buffer, len, |
1303 | SD_TIMEOUT, SD_MAX_RETRIES, data); | 1303 | SD_TIMEOUT, SD_MAX_RETRIES, data, |
1304 | SRpnt->sr_sense_buffer); | ||
1304 | } | 1305 | } |
1305 | 1306 | ||
1306 | /* | 1307 | /* |