rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 25 Feb 2011 19:37:59 +0000 (11:37 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:58 +0000 (23:16 -0700)
commit13491a0ee1ef862b6c842132b6eb9c5e721af5ad
tree198d4dc1d56c4d6357d93522cc2ff3676cb78021
parent7e8b4c72344e0d904b0e3fa9fd2eb116f04b3d41
rcu: call __rcu_read_unlock() in exit_rcu for tree RCU

Using __rcu_read_lock() in place of rcu_read_lock() leaves any debug
state as it really should be, namely with the lock still held.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree_plugin.h