diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-01-08 01:29:05 -0500 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-02-04 13:56:01 -0500 |
commit | 151c602f79cb9154c3f3d83223cae355af463d6f (patch) | |
tree | 140f75b7a100c50b9d337b3a128dd34b5731780f /samples | |
parent | e374d4835668a8c6aec7cefc0a44df69f9679017 (diff) |
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 'samples')
0 files changed, 0 insertions, 0 deletions