blkcg: use @pol instead of @plid in update_root_blkg_pd() and blkcg_print_blkgs()
authorTejun Heo <tj@kernel.org>
Fri, 13 Apr 2012 20:11:27 +0000 (13:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Apr 2012 08:06:06 +0000 (10:06 +0200)
commitec399347d39fb2337ebace928cf4a2855bd0ec37
treed95efeb004e8da914f7d3c726cd059b422443694
parentbc0d6501a844392ab6ad419d7ca5af4693b6afac
blkcg: use @pol instead of @plid in update_root_blkg_pd() and blkcg_print_blkgs()

The two functions were taking "enum blkio_policy_id plid".  Make them
take "const struct blkio_policy_type *pol" instead.

This is to prepare for per-queue policy activation and doesn't cause
any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-cgroup.h
block/blk-throttle.c
block/cfq-iosched.c