]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/rmap.c
mm: Remove slab destructors from kmem_cache_create().
[mirror_ubuntu-artful-kernel.git] / mm / rmap.c
index fede5c7910beebe57894af31a37db9cb8fc8dee4..41ac39749ef42af4b7b6bb173372fb081f39735a 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -149,7 +149,7 @@ static void anon_vma_ctor(void *data, struct kmem_cache *cachep,
 void __init anon_vma_init(void)
 {
        anon_vma_cachep = kmem_cache_create("anon_vma", sizeof(struct anon_vma),
-                       0, SLAB_DESTROY_BY_RCU|SLAB_PANIC, anon_vma_ctor, NULL);
+                       0, SLAB_DESTROY_BY_RCU|SLAB_PANIC, anon_vma_ctor);
 }
 
 /*