From: Jeff Moyer Date: Tue, 3 Dec 2013 21:23:00 +0000 (-0700) Subject: blk-mq: fix dereference of rq->mq_ctx if allocation fails X-Git-Tag: v3.13-rc3~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959a35f13eb785f982d79b1aaa75872d05c821da;p=pandora-kernel.git blk-mq: fix dereference of rq->mq_ctx if allocation fails If __GFP_WAIT isn't set and we fail allocating, when we go to drop the reference on the ctx, we will attempt to dereference the NULL rq. Fix that. Signed-off-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed