[PATCH] slab: extract __kmem_cache_destroy from kmem_cache_destroy
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:37 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:50 +0000 (08:48 -0700)
commit117f6eb1d8b8deb6f19fc88fc15bdb413c2a0c79
tree471f09cb6223d8241c7edbc283c438414d7cf34e
parentdbe5e69d2d6e591996ea2b817b887d03b60bb143
[PATCH] slab: extract __kmem_cache_destroy from kmem_cache_destroy

The ability to free memory allocated to a slab cache is also useful if an
error occurs during setup of a slab.  So extract the function.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c