diff options
author | Christoph Hellwig | 2018-11-09 14:42:38 +0100 |
---|---|---|
committer | Jens Axboe | 2018-11-10 03:17:14 +0100 |
commit | 14784565f740e862adae4b1d7c91f51b4038c4f5 (patch) | |
tree | a7997ce39a5ad73e5d5ce3526511a43df801bb33 /block/ioprio.c | |
parent | scsi: push blk_status_t up into scsi_setup_{fs,scsi}_cmnd (diff) | |
download | kernel-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 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions