mm: Remove slab destructors from kmem_cache_create().
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / namespace.c
index 4198003d7e18a79228ebf5a8a7f9d06cca86be21..ddbda13c2d317dc79bb6bffa41e688a250dd1ccf 100644 (file)
@@ -1801,7 +1801,7 @@ void __init mnt_init(unsigned long mempages)
        init_rwsem(&namespace_sem);
 
        mnt_cache = kmem_cache_create("mnt_cache", sizeof(struct vfsmount),
-                       0, SLAB_HWCACHE_ALIGN | SLAB_PANIC, NULL, NULL);
+                       0, SLAB_HWCACHE_ALIGN | SLAB_PANIC, NULL);
 
        mount_hashtable = (struct list_head *)__get_free_page(GFP_ATOMIC);