diff options
author | Joe Lawrence <[email protected]> | 2014-07-02 15:35:16 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2014-08-26 15:20:23 -0600 |
commit | eb571eeade2598635f813b3284d02c13a380301e (patch) | |
tree | 539842ad23a4eaae8c272278fd9fea389afa6b93 /include/linux/fpga/fpga-mgr.h | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) |
block,scsi: verify return pointer from blk_get_request
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 <[email protected]>
Acked-by: Jiri Kosina <[email protected]> [for pktdvd]
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions