[PATCH] slab: extract slab_{put|get}_obj
authorMatthew Dobson <colpatch@us.ibm.com>
Wed, 1 Feb 2006 11:05:47 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:17 +0000 (08:53 -0800)
commit78d382d77c84229d031431931bf6490d5da6ab86
treebb6b4fa29b05209ebe88beee496b7785644bb874
parent12dd36faec5d3bd96da84fa8f76efecc632930ab
[PATCH] slab: extract slab_{put|get}_obj

Create two helper functions slab_get_obj() and slab_put_obj() to replace
duplicated code in mm/slab.c

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