commit | 12dd36faec5d3bd96da84fa8f76efecc632930ab | [log] [tgz] |
---|---|---|
author | Matthew Dobson <colpatch@us.ibm.com> | Wed Feb 01 03:05:46 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Feb 01 08:53:17 2006 -0800 |
tree | 069ec58bf797166824e92b363720bef041aef712 | |
parent | fbaccacff1f17c65ae0972085368a7ec75be6062 [diff] |
[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>