summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2011-05-19 15:38:19 -0400
committerJens Axboe <jaxboe@fusionio.com>2011-05-20 20:34:51 +0200
commita29a171e7c46c60842b85729280e2f5690372683 (patch)
tree83d9be7f8801c04feeac0256e677da7240239046 /block/blk-settings.c
parent698567f3fa790fea37509a54dea855302dd88331 (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-settings.c')
0 files changed, 0 insertions, 0 deletions