diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 18:38:13 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 18:38:13 -0700 | 
| commit | 9a79b2274186fade17134929d4f85b70d59a3840 (patch) | |
| tree | d74e9ecc83ef617166445501b49087726595fb63 /net/sunrpc/sched.c | |
| parent | 75473c1d3930896bbabcc99bb58fafd53ef42473 (diff) | |
| parent | 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac (diff) | |
| download | olio-linux-3.10-9a79b2274186fade17134929d4f85b70d59a3840.tar.xz olio-linux-3.10-9a79b2274186fade17134929d4f85b70d59a3840.zip  | |
Merge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
  mm: Remove slab destructors from kmem_cache_create().
Diffstat (limited to 'net/sunrpc/sched.c')
| -rw-r--r-- | net/sunrpc/sched.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 2ac43c41c3a..b5723c262a3 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -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,  |