]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit179d88f36accb63aa0e17dd200ea0284f74d7893
tree5beff1d733980c3458741777e4513682d6cd3674
parent4e0f93018669fa9e65e3680a5170bf3edca02ff5
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: 9ae10cdf9216 ("rhashtable: Introduce rhashtable_walk_*")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c