Re: [PATCH 1/2] block,scsi: verify return pointer from blk_get_request

2014-06-03 Thread Jeff Moyer
Joe Lawrence writes: > The blk-core dead queue checks introduce an error scenario to > blk_get_request that returns NULL if the request queue has been > shutdown. This affects the behavior for __GFP_WAIT callers, who should > verify the return value before dereferencing. > > Signed-off-by: Joe

Re: [PATCH 1/2] block,scsi: verify return pointer from blk_get_request

2014-06-03 Thread Jeff Moyer
Joe Lawrence joe.lawre...@stratus.com writes: The blk-core dead queue checks introduce an error scenario to blk_get_request that returns NULL if the request queue has been shutdown. This affects the behavior for __GFP_WAIT callers, who should verify the return value before dereferencing.

[PATCH 1/2] block,scsi: verify return pointer from blk_get_request

2014-05-29 Thread Joe Lawrence
The blk-core dead queue checks introduce an error scenario to blk_get_request that returns NULL if the request queue has been shutdown. This affects the behavior for __GFP_WAIT callers, who should verify the return value before dereferencing. Signed-off-by: Joe Lawrence Acked-by: Jiri Kosina

[PATCH 1/2] block,scsi: verify return pointer from blk_get_request

2014-05-29 Thread Joe Lawrence
The blk-core dead queue checks introduce an error scenario to blk_get_request that returns NULL if the request queue has been shutdown. This affects the behavior for __GFP_WAIT callers, who should verify the return value before dereferencing. Signed-off-by: Joe Lawrence joe.lawre...@stratus.com