]> git.baikalelectronics.ru Git - kernel.git/commit
test_rhashtable: don't use global entries variable
authorFlorian Westphal <fw@strlen.de>
Tue, 19 Sep 2017 23:12:12 +0000 (01:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:15:47 +0000 (16:15 -0700)
commitab0d439ebffebbf8813c6f3308b47aa32977134e
tree7aa258ff660c25fc7f4b4ee283b5c551ad2ee02e
parentcd39069a9f22316f2cdd7e10bbe0137427220579
test_rhashtable: don't use global entries variable

pass the entries to test as an argument instead.
Followup patch will add an rhlist test case; rhlist delete opererations
are slow so we need to use a smaller number to test it.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c