From: Li Zefan Date: Thu, 22 Apr 2010 09:30:00 +0000 (+0800) Subject: cgroup: Fix an RCU warning in alloc_css_id() X-Git-Tag: v2.6.34-rc7~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fae9c791703606636c1220e47f6690660042ce7f;p=pandora-kernel.git cgroup: Fix an RCU warning in alloc_css_id() With CONFIG_PROVE_RCU=y, a warning can be triggered: # mount -t cgroup -o memory xxx /mnt # mkdir /mnt/0 ... kernel/cgroup.c:4442 invoked rcu_dereference_check() without protection! ... This is a false-positive. It's safe to directly access parent_css->id. Signed-off-by: Li Zefan Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed