From: Tejun Heo Date: Fri, 9 Aug 2013 00:11:24 +0000 (-0400) Subject: cgroup: always use cgroup_next_child() to walk the children list X-Git-Tag: v3.12-rc1~173^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48e3924dca268c677c4e338e5d91ad9e6fe6b9e;p=pandora-kernel.git cgroup: always use cgroup_next_child() to walk the children list There are several places where the children list is accessed directly. This patch converts those places to use cgroup_next_child(). This will help updating the hierarchy iterators to use @css instead of @cgrp. While cgroup_next_child() can be heavy in pathological cases - e.g. a lot of dead children, this shouldn't cause any noticeable behavior differences. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed