commit | e8604cb43690b781f9a7ad4a770f3e10259fe939 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Fri Mar 28 15:18:27 2014 +0800 |
committer | Tejun Heo <tj@kernel.org> | Sat Mar 29 09:15:53 2014 -0400 |
tree | 0feff5f9e9efe957a6f74a2cb23dc753428d87de | |
parent | 01a971406177c2ca9834be6914a67e20f463a3e6 [diff] |
cgroup: fix spurious lockdep warning in cgroup_exit() cgroup_exit() is called in fork and exit path. If it's called in the failure path during fork, PF_EXITING isn't set, and then lockdep will complain. Fix this by removing cgroup_exit() in that failure path. cgroup_fork() does nothing that needs cleanup. Reported-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>