Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

test_rhashtable: Remove bogus max_size setting

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>

authored by

Herbert Xu and committed by
David S. Miller
b81b7be6 b98d8075

-1
-1
lib/test_rhashtable.c
··· 44 44 .key_offset = offsetof(struct test_obj, value), 45 45 .key_len = sizeof(int), 46 46 .hashfn = jhash, 47 - .max_size = 2, /* we expand/shrink manually here */ 48 47 .nulls_base = (3U << RHT_BASE_SHIFT), 49 48 }; 50 49