]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sunrpc/sched.c
mm: Remove slab destructors from kmem_cache_create().
[net-next-2.6.git] / net / sunrpc / sched.c
index 2ac43c41c3a9889664a1c36b5072e1690ce0fea2..b5723c262a3efd4703ea95f7936994845626f956 100644 (file)
@@ -1031,13 +1031,13 @@ rpc_init_mempool(void)
        rpc_task_slabp = kmem_cache_create("rpc_tasks",
                                             sizeof(struct rpc_task),
                                             0, SLAB_HWCACHE_ALIGN,
-                                            NULL, NULL);
+                                            NULL);
        if (!rpc_task_slabp)
                goto err_nomem;
        rpc_buffer_slabp = kmem_cache_create("rpc_buffers",
                                             RPC_BUFFER_MAXSIZE,
                                             0, SLAB_HWCACHE_ALIGN,
-                                            NULL, NULL);
+                                            NULL);
        if (!rpc_buffer_slabp)
                goto err_nomem;
        rpc_task_mempool = mempool_create_slab_pool(RPC_TASK_POOLSIZE,