summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-08-28 11:27:01 -0500
committerJames Bottomley <jejb@titanic.(none)>2005-08-28 11:27:01 -0500
commit1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch)
tree501f88d32efe275560c2df1f6c7c6bacf72af4cf /drivers/scsi/sd.c
parent7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (diff)
downloadlinux-3.10-1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3.tar.gz
linux-3.10-1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3.tar.bz2
linux-3.10-1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3.zip
[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 0410e1bf109..15c2039059c 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);
}
/*