]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: link all cgroup_subsys_states in their sibling lists
authorTejun Heo <tj@kernel.org>
Fri, 16 May 2014 17:22:49 +0000 (13:22 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 16 May 2014 17:22:49 +0000 (13:22 -0400)
commitf9e810ca8b447c5cc28d908e0181a153432dcf80
treeacc83e47c3cd7366107672fd298a73824b3fdfea
parent7c83159c4889543d5f79cad033b31d04985b17d0
cgroup: link all cgroup_subsys_states in their sibling lists

Currently, while all csses have ->children and ->sibling, only the
self csses of cgroups make use of them.  This patch makes all other
csses to link themselves on the sibling lists too.  This will be used
to update css iteration.

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