diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-13 22:11:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-04-20 10:06:06 +0200 |
commit | 8bd435b30ecacb69bbb8b2d3e251f770b807c5b2 (patch) | |
tree | a1a50e95517a54a578af3967fb4016a5a1a42a68 /sound/firewire | |
parent | blkcg: use @pol instead of @plid in update_root_blkg_pd() and blkcg_print_blk... (diff) | |
download | linux-8bd435b30ecacb69bbb8b2d3e251f770b807c5b2.tar.xz linux-8bd435b30ecacb69bbb8b2d3e251f770b807c5b2.zip |
blkcg: remove static policy ID enums
Remove BLKIO_POLICY_* enums and let blkio_policy_register() allocate
@pol->plid dynamically on registration. The maximum number of blkcg
policies which can be registered at the same time is defined by
BLKCG_MAX_POLS constant added to include/linux/blkdev.h.
Note that blkio_policy_register() now may fail. Policy init functions
updated accordingly and unnecessary ifdefs removed from cfq_init().
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 'sound/firewire')
0 files changed, 0 insertions, 0 deletions