commit | d629d819579327267884a12de21ef6d4b539db88 | [log] [tgz] |
---|---|---|
author | Pekka Enberg <penberg@cs.helsinki.fi> | Wed Apr 23 22:31:08 2008 +0300 |
committer | Pekka Enberg <penberg@cs.helsinki.fi> | Sun Apr 27 18:26:06 2008 +0300 |
tree | a3f7c40fbcaef54b0dce0affc8cadf101ace046d | |
parent | 0701a9e649bf0ffdac0a761d3c3d1041f5375d90 [diff] |
slub: improve kmem_cache_destroy() error message As pointed out by Ingo, the SLUB warning of calling kmem_cache_destroy() with cache that still has objects triggers in practice. So turn this WARN_ON() into a nice SLUB specific error message to avoid people confusing it to a SLUB bug. Cc: Ingo Molnar <mingo@elte.hu> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>