summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-06-28 16:24:11 -0700
committerTejun Heo <tj@kernel.org>2013-07-12 12:34:01 -0700
commitbee550994f6b0c1179bd3ccea58dc5c2c4ccf842 (patch)
treed1bdc5b58f5118bf121a34b184e2b3a983ca9bd1 /kernel/profile.c
parent628f7cd47ab758cae0353d1a6decf3d1459dca24 (diff)
downloadlinux-bee550994f6b0c1179bd3ccea58dc5c2c4ccf842.tar.gz
linux-bee550994f6b0c1179bd3ccea58dc5c2c4ccf842.tar.bz2
linux-bee550994f6b0c1179bd3ccea58dc5c2c4ccf842.zip
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 <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions