From: Li Zefan Date: Thu, 29 Jan 2009 22:25:21 +0000 (-0800) Subject: cgroups: fix lock inconsistency in cgroup_clone() X-Git-Tag: v2.6.29-rc4~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1404f06565ee89e0ce04d4a5859c00b0e3a0dc8d;p=pandora-kernel.git cgroups: fix lock inconsistency in cgroup_clone() I fixed a bug in cgroup_clone() in Linus' tree in commit 7b574b7 ("cgroups: fix a race between cgroup_clone and umount") without noticing there was a cleanup patch in -mm tree that should be rebased (now commit 104cbd5, "cgroups: use task_lock() for access tsk->cgroups safe in cgroup_clone()"), thus resulted in lock inconsistency. Signed-off-by: Li Zefan Acked-by: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed