[PATCH] scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND

2014-10-23 Thread Tony Battersby
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 --- For inclusion in 3.18 only. This does not conflict with the other recent

[PATCH] scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND

2014-11-10 Thread Tony Battersby
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 --- (resending, since no one picked it up last time) For inclusion in 3.18 o

Re: [PATCH] scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND

2014-11-10 Thread Jens Axboe
On 2014-11-10 15:40, Tony Battersby wrote: 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 Thanks, good catch. Might be an