commit | 92697dc9471b8655a2f1203fa351bc37b2d46a26 | [log] [tgz] |
---|---|---|
author | Tony Battersby <tonyb@cybernetics.com> | Mon Nov 10 17:40:02 2014 -0500 |
committer | Jens Axboe <axboe@fb.com> | Mon Nov 10 15:41:47 2014 -0700 |
tree | 0bd855adedc0422bf693671963c63bddab0cfcd2 | |
parent | f3af020b9a8d298022b811a19719df0cf461efa5 [diff] |
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>