aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-01-07 22:29:05 -0800
committerChristoph Lameter <clameter@sgi.com>2008-02-04 10:56:01 -0800
commit151c602f79cb9154c3f3d83223cae355af463d6f (patch)
tree140f75b7a100c50b9d337b3a128dd34b5731780f /scripts/patch-kernel
parentslub: fix shadowed variable sparse warnings (diff)
downloadlinux-151c602f79cb9154c3f3d83223cae355af463d6f.tar.gz
linux-151c602f79cb9154c3f3d83223cae355af463d6f.zip
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 <clameter@sgi.com> Reviewed-by: Pekka J Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions