]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/user.c
mm: Remove slab destructors from kmem_cache_create().
[net-next-2.6.git] / kernel / user.c
index 98b82507797a9f26fd0a2d4ee3d9d22d92928c08..e7d11cef6998fdb378506d72232c4041738dce2f 100644 (file)
@@ -208,7 +208,7 @@ static int __init uid_cache_init(void)
        int n;
 
        uid_cachep = kmem_cache_create("uid_cache", sizeof(struct user_struct),
-                       0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
+                       0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
 
        for(n = 0; n < UIDHASH_SZ; ++n)
                INIT_LIST_HEAD(init_user_ns.uidhash_table + n);