diff options
author | NeilBrown <neilb@suse.com> | 2018-06-18 12:52:50 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-22 13:43:27 +0900 |
commit | cbab901296232b1247b46e6e127103d2f738d783 (patch) | |
tree | 0e257d10be56b4b0bb163212cdc78f082688470e /lib/rhashtable.c | |
parent | e5ab564c9ebee77794842ca7d7476147b83d6a27 (diff) | |
download | linux-cbab901296232b1247b46e6e127103d2f738d783.tar.bz2 |
rhashtable: silence RCU warning in rhashtable_test.
print_ht in rhashtable_test calls rht_dereference() with neither
RCU protection or the mutex. This triggers an RCU warning.
So take the mutex to silence the warning.
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions