scsi: simplify scsi_execute_req_flags
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Feb 2017 19:15:58 +0000 (20:15 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Feb 2017 00:35:51 +0000 (19:35 -0500)
commit3949e2f04262495f6c8795b148aa26dffccba646
treec58f44909c413602caf70b926cd9e6e3a5c317e3
parent74a78ebda4fa5c5ae87fc501152863ee31c17da4
scsi: simplify scsi_execute_req_flags

Add a sshdr argument to __scsi_execute so that we can decode the sense
data directly into the sense header instead of needing a copy of it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c