git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a9714
)
cgroup: fix spurious lockdep warning in cgroup_exit()
author
Li Zefan
<lizefan@huawei.com>
Fri, 28 Mar 2014 07:18:27 +0000
(15:18 +0800)
committer
Tejun Heo
<tj@kernel.org>
Sat, 29 Mar 2014 13:15:53 +0000
(09:15 -0400)
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>
kernel/cgroup.c
patch
|
blob
|
history
kernel/fork.c
patch
|
blob
|
history
diff --cc
kernel/cgroup.c
Simple merge
diff --cc
kernel/fork.c
Simple merge