From 6a84a8d1d4db03d5c89bdf84d1790186592f8df3 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Mon, 7 Jan 2008 22:29:05 -0800 Subject: [PATCH] SLUB: Fix sysfs refcounting If CONFIG_SYSFS is set then free the kmem_cache structure when sysfs tells us its okay. Signed-off-by: Christoph Lameter --- mm/slub.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index a505a82..dd66118 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -230,7 +230,6 @@ static inline void sysfs_slab_remove(struct kmem_cache *s) { kfree(s); } - #endif static inline void stat(struct kmem_cache_cpu *c, enum stat_item si) -- 1.5.5.1