From: Tejun Heo Date: Fri, 6 Dec 2013 20:11:56 +0000 (-0500) Subject: cgroup: combine css handling loops in cgroup_create() X-Git-Tag: v3.14-rc1~136^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d403e99238ed6d7151a2c07db6cf8f6932ef3d5;p=pandora-kernel.git cgroup: combine css handling loops in cgroup_create() Now that css operations in cgroup_create() are back-to-back, there isn't much point in allocating css's in one loop and onlining them in another. Merge the two loops so that a css is allocated and onlined on each iteration. css_ar[] is no longer necessary and replaced with a single pointer. This also simplifies the error handling path. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed