blkcg: make blkg_conf_prep() take @pol and return with queue lock held
commitda8b066262e12d1d0a3b1e6d3486e500169bf730
authorTejun Heo <tj@kernel.org>
Fri, 13 Apr 2012 20:11:29 +0000 (13 13:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Apr 2012 08:06:06 +0000 (20 10:06 +0200)
tree048eee7101b526017bbd295366bf2e95dd65e5a7
parent8bd435b30ecacb69bbb8b2d3e251f770b807c5b2
blkcg: make blkg_conf_prep() take @pol and return with queue lock held

Add @pol to blkg_conf_prep() and let it return with queue lock held
(to be released by blkg_conf_finish()).  Note that @pol isn't used
yet.

This is to prepare for per-queue policy activation and doesn't cause
any visible 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