summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_freezer.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-11-19 08:13:38 -0800
committerTejun Heo <tj@kernel.org>2012-11-19 08:13:38 -0800
commit4b8b47eb0001a89f271d671d959b235faa8f03e2 (patch)
tree611245ac0c36952a3b3e4af19514baf2be3d9104 /kernel/cgroup_freezer.c
parentb8a2df6a5b576d04f78f54abf254c283527d8bbc (diff)
downloadlinux-4b8b47eb0001a89f271d671d959b235faa8f03e2.tar.gz
linux-4b8b47eb0001a89f271d671d959b235faa8f03e2.tar.bz2
linux-4b8b47eb0001a89f271d671d959b235faa8f03e2.zip
cgroup: update cgroup_create() failure path
cgroup_create() was ignoring failure of cgroupfs files. Update it such that, if file creation fails, it rolls back by calling cgroup_destroy_locked() and returns failure. Note that error out goto labels are renamed. The labels are a bit confusing but will become better w/ later cgroup operation renames. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/cgroup_freezer.c')
0 files changed, 0 insertions, 0 deletions