Whamcloud - gitweb
LU-7084 mem: code cleanup for memory allocation
[fs/lustre-release.git] / lustre / llite / super25.c
index 71ac616..bfc42cc 100644 (file)
@@ -137,7 +137,7 @@ static int __init lustre_init(void)
 
        ll_rmtperm_hash_cachep = kmem_cache_create("ll_rmtperm_hash_cache",
                                                   REMOTE_PERM_HASHSIZE *
-                                                  sizeof(struct list_head),
+                                                  sizeof(struct hlist_head),
                                                   0, 0, NULL);
        if (ll_rmtperm_hash_cachep == NULL)
                GOTO(out_cache, rc = -ENOMEM);