summary refs log tree commit diff
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-11-10 11:16:37 -0500
committerJens Axboe <axboe@fb.com>2016-11-10 10:10:04 -0700
commitebc4ff661fbe76781c6b16dfb7b754a5d5073f8e (patch)
treeba0562eb2a24164629d6cbc90f864642ba507665 /block/blk-mq-sysfs.c
parent7bf58533a0bc257edff883619befe7e5a1e8caca (diff)
downloadlinux-ebc4ff661fbe76781c6b16dfb7b754a5d5073f8e.tar.gz
block: cfq_cpd_alloc() should use @gfp
cfq_cpd_alloc() which is the cpd_alloc_fn implementation for cfq was
incorrectly hard coding GFP_KERNEL instead of using the mask specified
through the @gfp parameter.  This currently doesn't cause any actual
issues because all current callers specify GFP_KERNEL.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: e4a9bde9589f ("blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methods")
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions