test_rhashtable: Remove bogus max_size setting
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 2 Apr 2015 04:29:50 +0000 (12:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Apr 2015 19:09:36 +0000 (15:09 -0400)
Now that resizing is completely automatic, we need to remove
the max_size setting or the test will fail.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c

index a42a0d44e8181cbcac4b292b5837e2e0f463c067..b2957540d3c722d5c7b3d9f94e5b5a1d6c9d7975 100644 (file)
@@ -44,7 +44,6 @@ static const struct rhashtable_params test_rht_params = {
        .key_offset = offsetof(struct test_obj, value),
        .key_len = sizeof(int),
        .hashfn = jhash,
-       .max_size = 2, /* we expand/shrink manually here */
        .nulls_base = (3U << RHT_BASE_SHIFT),
 };