From: Christoph Lameter Date: Tue, 8 Jan 2008 06:29:05 +0000 (-0800) Subject: SLUB: Fix sysfs refcounting X-Git-Tag: v2.6.25-rc1~1056^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=151c602f79cb9154c3f3d83223cae355af463d6f;p=pandora-kernel.git SLUB: Fix sysfs refcounting If CONFIG_SYSFS is set then free the kmem_cache structure when sysfs tells us its okay. Otherwise there is the danger (as pointed out by Al Viro) that sysfs thinks the kobject still exists after kmem_cache_destroy() removed it. Signed-off-by: Christoph Lameter Reviewed-by: Pekka J Enberg --- Reading git-diff-tree failed