git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e345d76
)
blk-mq: fix dereference of rq->mq_ctx if allocation fails
author
Jeff Moyer
<jmoyer@redhat.com>
Tue, 3 Dec 2013 21:23:00 +0000
(14:23 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 3 Dec 2013 21:24:28 +0000
(14:24 -0700)
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 <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
No differences found