[PATCH v2 5/9] cgroup: update error handling in cgroup_populate_dir()
Li Zefan
lizefan at huawei.com
Fri Jul 12 06:07:08 UTC 2013
On 2013/7/12 1:18, Tejun Heo wrote:
>>From 4b5e65e0911690422a9b253b8ef68b14288e99c5 Mon Sep 17 00:00:00 2001
> From: Tejun Heo <tj at kernel.org>
> Date: Fri, 28 Jun 2013 16:24:11 -0700
>
> 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 at kernel.org>
Acked-by: Li Zefan <lizefan at huawei.com>
More information about the Containers
mailing list