From: Joe Lawrence Date: Wed, 2 Jul 2014 19:35:16 +0000 (-0400) Subject: block,scsi: verify return pointer from blk_get_request X-Git-Tag: fixes-against-v3.18-rc2~52^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb571eeade2598635f813b3284d02c13a380301e;p=pandora-kernel.git 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 Acked-by: Jiri Kosina [for pktdvd] Reviewed-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed