mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
block: Change argument type of scsi_req_init()
Since scsi_req_init() works on a struct scsi_request, change the argument type into struct scsi_request *. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
ca18d6f769
commit
c8d9cf22cf
5 changed files with 13 additions and 7 deletions
|
|
@ -1123,7 +1123,9 @@ EXPORT_SYMBOL(scsi_init_io);
|
|||
*/
|
||||
void scsi_initialize_rq(struct request *rq)
|
||||
{
|
||||
scsi_req_init(rq);
|
||||
struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq);
|
||||
|
||||
scsi_req_init(&cmd->req);
|
||||
}
|
||||
EXPORT_SYMBOL(scsi_initialize_rq);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue