rhashtable: Annotate RCU locking of walkers
authorThomas Graf <tgraf@suug.ch>
Mon, 16 Mar 2015 09:42:27 +0000 (10:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 20:24:13 +0000 (16:24 -0400)
commitdb4374f48a6c31c02f6ad1d19b257c186b443c0c
tree5beff1d733980c3458741777e4513682d6cd3674
parent04f49faf70d4c056cd6576ff0614bb54e7a70bbc
rhashtable: Annotate RCU locking of walkers

Fixes the following sparse warnings:

lib/rhashtable.c:767:5: warning: context imbalance in 'rhashtable_walk_start' - wrong count at exit
lib/rhashtable.c:849:6: warning: context imbalance in 'rhashtable_walk_stop' - unexpected unlock

Fixes: f2dba9c6ff0d ("rhashtable: Introduce rhashtable_walk_*")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c