]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9254d5759238ea3f2fba7d368db665ac146c9f63
treec58f44909c413602caf70b926cd9e6e3a5c317e3
parent23fafddcdfc637ec8c516b7e09dc48bc3306e009
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