diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2011-05-19 15:38:19 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-20 14:34:51 -0400 |
commit | a29a171e7c46c60842b85729280e2f5690372683 (patch) | |
tree | 83d9be7f8801c04feeac0256e677da7240239046 /block/blk-cgroup.h | |
parent | 698567f3fa790fea37509a54dea855302dd88331 (diff) |
blk-throttle: Do the new group initialization with the help of a function
Group initialization code seems to be at two places. root group
initialization in blk_throtl_init() and dynamically allocated group
in throtl_find_alloc_tg(). Create a common function and use at both
the places.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions