cgroup: fix a failure path in create_css()
authorLi Zefan <lizefan@huawei.com>
Tue, 18 Mar 2014 09:02:36 +0000 (17:02 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 18 Mar 2014 21:15:36 +0000 (17:15 -0400)
commit3eb59ec64fc7a3f4576da23f811b39331b830ba2
tree600d9c6c0b0d75017cc373a6262bc27d4836ce8d
parent99afb0fd5f05aac467ffa85c36778fec4396209b
cgroup: fix a failure path in create_css()

If online_css() fails, we should remove cgroup files belonging
to css->ss.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c