summaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-04-13 13:11:34 -0700
committerJens Axboe <axboe@kernel.dk>2012-04-20 10:06:06 +0200
commit3c96cb32d318f323c1bf972a4c66821f8499e34d (patch)
treee76d0437f487405d8a22a727b8085696b949179d /block/cfq-iosched.c
parenta2b1693bac45ea3fe3ba612fd22c45f17449f610 (diff)
downloadlinux-3c96cb32d318f323c1bf972a4c66821f8499e34d.tar.gz
linux-3c96cb32d318f323c1bf972a4c66821f8499e34d.tar.bz2
linux-3c96cb32d318f323c1bf972a4c66821f8499e34d.zip
blkcg: drop stuff unused after per-queue policy activation update
* All_q_list is unused. Drop all_q_{mutex|list}. * @for_root of blkg_lookup_create() is always %false when called from outside blk-cgroup.c proper. Factor out __blkg_lookup_create() so that it doesn't check whether @q is bypassing and use the underscored version for the @for_root callsite. * blkg_destroy_all() is used only from blkcg proper and @destroy_root is always %true. Make it static and drop @destroy_root. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r--block/cfq-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 0203652e1f34..eb07eb64e85b 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1348,7 +1348,7 @@ static struct cfq_group *cfq_lookup_create_cfqg(struct cfq_data *cfqd,
} else {
struct blkio_group *blkg;
- blkg = blkg_lookup_create(blkcg, q, false);
+ blkg = blkg_lookup_create(blkcg, q);
if (!IS_ERR(blkg))
cfqg = blkg_to_cfqg(blkg);
}