summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig2018-11-09 14:42:38 +0100
committerJens Axboe2018-11-10 03:17:14 +0100
commit14784565f740e862adae4b1d7c91f51b4038c4f5 (patch)
treea7997ce39a5ad73e5d5ce3526511a43df801bb33 /include/scsi
parentscsi: push blk_status_t up into scsi_setup_{fs,scsi}_cmnd (diff)
downloadkernel-qcow2-linux-14784565f740e862adae4b1d7c91f51b4038c4f5.tar.gz
kernel-qcow2-linux-14784565f740e862adae4b1d7c91f51b4038c4f5.tar.xz
kernel-qcow2-linux-14784565f740e862adae4b1d7c91f51b4038c4f5.zip
scsi: clean up error handling in scsi_init_io
There is no need to call scsi_mq_free_sgtables until we have actually allocated sgtables. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions