OSDN Git Service

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)
commitf651616e799ff01d1e21abc053ee1e23ac1a2344
tree7aa258ff660c25fc7f4b4ee283b5c551ad2ee02e
parent7e936bd73483eb1873b9ab6f375c9a1d781bc5cb
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