Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 92697dc9 authored by Tony Battersby's avatar Tony Battersby Committed by Jens Axboe
Browse files

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: a492f075 ("block,scsi: fixup blk_get_request dead queue scenarios")
Signed-off-by: default avatarTony Battersby <tonyb@cybernetics.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f3af020b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment