]> 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)
commitc04934fd9340667a1f32c3795ddfa5f5e417f339
tree5beff1d733980c3458741777e4513682d6cd3674
parentf45db432384d5eafd6dbd6b112206005adc58cab
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: 73c86f0e8ad7 ("rhashtable: Introduce rhashtable_walk_*")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c