]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - lib/test_rhashtable.c
test_rhashtable: Use rhashtable max_size instead of max_shift
[mirror_ubuntu-zesty-kernel.git] / lib / test_rhashtable.c
index 16974fd89e4e854edabc9b66533b4e3da2e9ccba..2bc403d8f9ee80a19a1e31d206a1cd5e5e632311 100644 (file)
@@ -201,7 +201,7 @@ static int __init test_rht_init(void)
                .key_offset = offsetof(struct test_obj, value),
                .key_len = sizeof(int),
                .hashfn = jhash,
-               .max_shift = 1, /* we expand/shrink manually here */
+               .max_size = 2, /* we expand/shrink manually here */
                .nulls_base = (3U << RHT_BASE_SHIFT),
        };
        int err;