]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] slab: extract slab_destroy_objs()
authorMatthew Dobson <colpatch@us.ibm.com>
Wed, 1 Feb 2006 11:05:46 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:17 +0000 (08:53 -0800)
commit12dd36faec5d3bd96da84fa8f76efecc632930ab
tree069ec58bf797166824e92b363720bef041aef712
parentfbaccacff1f17c65ae0972085368a7ec75be6062
[PATCH] slab: extract slab_destroy_objs()

Create a helper function, slab_destroy_objs() which called from
slab_destroy().  This makes slab_destroy() smaller and more readable, and
moves ifdefs outside the function body.

Signed-off-by: Matthew Dobson <colpatch@us.ibm.com>
Acked-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c