summaryrefslogtreecommitdiffstats
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2014-11-10 23:40:02 +0100
committerJens Axboe <axboe@fb.com>2014-11-10 23:41:47 +0100
commit92697dc9471b8655a2f1203fa351bc37b2d46a26 (patch)
tree0bd855adedc0422bf693671963c63bddab0cfcd2 /block/blk-merge.c
parentblk-mq: make mq_queue_reinit_notify() freeze queues in parallel (diff)
downloadlinux-92697dc9471b8655a2f1203fa351bc37b2d46a26.tar.xz
linux-92697dc9471b8655a2f1203fa351bc37b2d46a26.zip
scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND
Fix an error path in SCSI_IOCTL_SEND_COMMAND that calls blk_put_request(rq) on an invalid IS_ERR(rq) pointer. Fixes: a492f075450f ("block,scsi: fixup blk_get_request dead queue scenarios") Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions