diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-07 18:07:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 08:31:03 -0800 |
commit | e5f6a8609bab0c2d7543ab1505105e011832afd7 (patch) | |
tree | 07591b1fb27431cee41ea4ca097b514a0e773ba7 /block | |
parent | 7534432dcc3c654a8671b6b0cdffd1dbdbc73074 (diff) | |
download | linux-e5f6a8609bab0c2d7543ab1505105e011832afd7.tar.gz linux-e5f6a8609bab0c2d7543ab1505105e011832afd7.tar.bz2 linux-e5f6a8609bab0c2d7543ab1505105e011832afd7.zip |
cgroups: make root_list contains active hierarchies only
Don't link rootnode to the root list, so root_list contains active
hierarchies only as the comment indicates. And rename for_each_root() to
for_each_active_root().
Also remove redundant check in cgroup_kill_sb().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions