rcu: Fix hlist_bl_set_first_rcu() annotation
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 15 Feb 2013 00:42:34 +0000 (16:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 12 Mar 2013 21:07:41 +0000 (14:07 -0700)
commit49d0de082c31de34cc896c14eec5f1c2ade0415a
tree29a1b907aa45ef5c158fbba3a820067a9b8e568e
parent6f0a6ad2b55053879eee89f812f3527950c380d6
rcu: Fix hlist_bl_set_first_rcu() annotation

Abhi noticed that we were getting a complaint from the RCU subsystem
about access of an RCU protected list under the write side bit lock.
This commit adds additional annotation to check both the RCU read
lock and the write side bit lock before printing a message.

Reported by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Tested-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/list_bl.h
include/linux/rculist_bl.h