From: Vivek Goyal Date: Thu, 19 May 2011 19:38:19 +0000 (-0400) Subject: blk-throttle: Do the new group initialization with the help of a function X-Git-Tag: v3.0-rc1~163^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29a171e7c46c60842b85729280e2f5690372683;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed