rcu: Use wrapper for lockdep asserts

Commits c0b334c5bf and ea9b0c8a26 introduced new sparse warnings
by accessing rcu_node->lock directly and ignoring the __private
marker.  Introduce a new wrapper and use it.  Also fix a similar problem
in srcutree.c introduced by a3883df393.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
Matthew Wilcox 2018-01-17 06:24:30 -08:00 • committed by Paul E. McKenney
commit a32e01ee68
4 changed files with 19 additions and 16 deletions