blk-throttle: Use helper function to add root throtl group to lists
authorVivek Goyal <vgoyal@redhat.com>
Thu, 19 May 2011 19:38:26 +0000 (15:38 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 20 May 2011 18:34:52 +0000 (20:34 +0200)
commit5617cbef7723952cbdff28c7a10ff8a254945f4f
tree1922ac8f6011d5ccc92c668448971a12cc6df909
parent269f541555d8f5da322d592fb3e13e23ed62d80c
blk-throttle: Use helper function to add root throtl group to lists

Use same helper function for root group as we use with dynamically
allocated groups to add it to various lists.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c