From: Tony Battersby Date: Mon, 10 Nov 2014 22:40:02 +0000 (-0500) Subject: scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~114^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92697dc9471b8655a2f1203fa351bc37b2d46a26;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed