]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/cgroup.c
cgroup: s/for_each_subsys()/for_each_root_subsys()/
authorTejun Heo <tj@kernel.org>
Mon, 24 Jun 2013 22:21:48 +0000 (15:21 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 24 Jun 2013 22:21:48 +0000 (15:21 -0700)
commit5549c497913ad860d3dff4386c6423268bb85693
tree19ed152fc3437dabfabfb1c4f28e66ebce969bce
parentb326f9d0dbd066b0aafbe88e6011a680a36de6e8
cgroup: s/for_each_subsys()/for_each_root_subsys()/

for_each_subsys() walks over subsystems attached to a hierarchy and
we're gonna add iterators which walk over all available subsystems.
Rename for_each_subsys() to for_each_root_subsys() so that it's more
appropriately named and for_each_subsys() can be used to iterate all
subsystems.

While at it, remove unnecessary underbar prefix from macro arguments,
put them inside parentheses, and adjust indentation for the two
for_each_*() macros.

This patch is purely cosmetic.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c