From: Tejun Heo Date: Fri, 28 Jun 2013 23:24:11 +0000 (-0700) Subject: cgroup: update error handling in cgroup_populate_dir() X-Git-Tag: v3.12-rc1~173^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee550994f6b0c1179bd3ccea58dc5c2c4ccf842;p=pandora-kernel.git cgroup: update error handling in cgroup_populate_dir() cgroup_populate_dir() didn't use to check whether the actual file creations were successful and could return success with only subset of the requested files created, which is nasty. This patch udpates cgroup_populate_dir() so that it either succeeds with all files or fails with no file. v2: The original patch also converted for_each_root_subsys() usages to for_each_subsys() without explaining why. That part has been moved to a separate patch. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed