aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-08-28 12:27:01 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-08-28 12:27:01 -0400
commit1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch)
tree501f88d32efe275560c2df1f6c7c6bacf72af4cf /drivers/scsi/sd.c
parent7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (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.c5
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
1299sd_do_mode_sense(struct scsi_request *SRpnt, int dbd, int modepage, 1299sd_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/*