cgroup: remove for_each_root_subsys()
authorTejun Heo <tj@kernel.org>
Fri, 6 Dec 2013 20:11:57 +0000 (15:11 -0500)
committerTejun Heo <tj@kernel.org>
Fri, 6 Dec 2013 20:11:57 +0000 (15:11 -0500)
commitb85d20404cef6493f9d2edbafe83f9c72aece9a8
tree865a0a474f729925586cf17dfe735e151379afce
parent1c6727af4b495a9ec74c46d1fc08e508e675899d
cgroup: remove for_each_root_subsys()

After the previous patch which introduced for_each_css(),
for_each_root_subsys() only has two users left.  This patch replaces
it with for_each_subsys() + explicit subsys_mask testing and remove
for_each_root_subsys() along with cgroupfs_root->subsys_list handling.

This patch doesn't introduce any behavior changes.

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