diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-05 22:15:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-06 21:27:22 +0100 |
commit | 0a5a7d0e32be6643b881f0e7cd9d0d06fadde27a (patch) | |
tree | 271f62b5f75c239831c7def1c445a6e990366730 /fs/minix/namei.c | |
parent | blkcg: move rcu_read_lock() outside of blkio_group get functions (diff) | |
download | linux-0a5a7d0e32be6643b881f0e7cd9d0d06fadde27a.tar.xz linux-0a5a7d0e32be6643b881f0e7cd9d0d06fadde27a.zip |
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 <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/minix/namei.c')
0 files changed, 0 insertions, 0 deletions