diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-01-07 22:29:05 -0800 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-02-04 10:56:01 -0800 |
commit | 151c602f79cb9154c3f3d83223cae355af463d6f (patch) | |
tree | 140f75b7a100c50b9d337b3a128dd34b5731780f /mm/page_isolation.c | |
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 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions