From: Tejun Heo Date: Mon, 19 Nov 2012 16:13:38 +0000 (-0800) Subject: cgroup: update cgroup_create() failure path X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~57^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8b47eb0001a89f271d671d959b235faa8f03e2;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed