[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>
This commit is contained in:
James Bottomley
2005-08-28 11:27:01 -05:00
parent 7a93aef7fb
commit 1cf72699c1
6 changed files with 64 additions and 111 deletions

View File

@@ -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);
}
/*