From: Tejun Heo Date: Mon, 5 Mar 2012 21:15:02 +0000 (-0800) Subject: blkcg: update blkg get functions take blkio_cgroup as parameter X-Git-Tag: v3.5-rc1~42^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5a7d0e32be6643b881f0e7cd9d0d06fadde27a;p=pandora-kernel.git blkcg: update blkg get functions take blkio_cgroup as parameter In both blkg get functions - throtl_get_tg() and cfq_get_cfqg(), instead of obtaining blkcg of %current explicitly, let the caller specify the blkcg to use as parameter and make both functions hold on to the blkcg. This is part of block cgroup interface cleanup and will help making blkcg API more modular. Signed-off-by: Tejun Heo Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed