From: Li Zefan Date: Fri, 28 Mar 2014 07:18:27 +0000 (+0800) Subject: cgroup: fix spurious lockdep warning in cgroup_exit() X-Git-Tag: v3.15-rc1~109^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8604cb43690b781f9a7ad4a770f3e10259fe939;p=pandora-kernel.git 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 Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed