diff options
author | 2013-12-03 14:23:00 -0700 | |
---|---|---|
committer | 2013-12-03 14:24:28 -0700 | |
commit | 959a35f13eb785f982d79b1aaa75872d05c821da (patch) | |
tree | cf6d053aee1a645f5ec9fc8e81d5f153b5a8692d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'stable/for-jens-3.13-take-two' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip into for-linus (diff) | |
download | linux-dev-959a35f13eb785f982d79b1aaa75872d05c821da.tar.xz linux-dev-959a35f13eb785f982d79b1aaa75872d05c821da.zip |
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 <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions