rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
authorMichal Hocko <mhocko@suse.cz>
Fri, 8 Jul 2011 12:39:41 +0000 (14:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 8 Jul 2011 20:21:58 +0000 (22:21 +0200)
commitd8bf4ca9ca9576548628344c9725edd3786e90b1
treedf338f50a5af6bc3651bd863b79fa91e6b1e9e20
parenteb032b9837a958e21ca000358a5bde5e17192ddb
rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check

Since ca5ecddf (rcu: define __rcu address space modifier for sparse)
rcu_dereference_check use rcu_read_lock_held as a part of condition
automatically so callers do not have to do that as well.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
14 files changed:
include/linux/cgroup.h
include/linux/cred.h
include/linux/fdtable.h
include/linux/rtnetlink.h
include/net/sock.h
kernel/cgroup.c
kernel/exit.c
kernel/pid.c
kernel/rcutorture.c
kernel/sched.c
net/mac80211/sta_info.c
net/netlabel/netlabel_domainhash.c
net/netlabel/netlabel_unlabeled.c
security/keys/keyring.c