blkcg: move blkg_for_each_descendant_pre() to block/blk-cgroup.h
authorTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:30 +0000 (13:52 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:30 +0000 (13:52 -0700)
commitdd4a4ffc0a4723cd0bef065af549803d256e1f7e
treea246b7307e85983c6633eadbd49f8c3b24dc1dd6
parent2423c9c3f0ffffa8f87cbdafe9781273c5d1b6a2
blkcg: move blkg_for_each_descendant_pre() to block/blk-cgroup.h

blk-throttle hierarchy support will make use of it.  Move
blkg_for_each_descendant_pre() from block/blk-cgroup.c to
block/blk-cgroup.h.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
block/blk-cgroup.c
block/blk-cgroup.h