commit | 9a9686b634acc5cb6b7c601c171ae64af0318a24 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu Apr 22 17:29:24 2010 +0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue May 04 09:24:59 2010 -0700 |
tree | 4a8431117018d8883c6d34d5c06f2eff99dcfed6 | |
parent | e35ec2d2c1fc45dd3e46dde74bb0c4c4366125bf [diff] |
cgroup: Fix an RCU warning in cgroup_path() with CONFIG_PROVE_RCU=y, a warning can be triggered: # mount -t cgroup -o debug xxx /mnt # cat /proc/$$/cgroup ... kernel/cgroup.c:1649 invoked rcu_dereference_check() without protection! ... This is a false-positive, because cgroup_path() can be called with either rcu_read_lock() held or cgroup_mutex held. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>