commit | eaf41584325e22a21612f8ebcc7c9bcd471ac6de | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Nov 14 11:49:02 2012 -0800 |
committer | Tejun Heo <tj@kernel.org> | Wed Nov 14 11:49:02 2012 -0800 |
tree | f2d64b74e90033d967d100a49ef691203d80488f | |
parent | f8bc502730cdf9bf1b3e42e17228993d00c1a224 [diff] |
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>