commit | d7278bd7d1aab5c6d35fd271eeb860548f0bd0bb | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux-foundation.org> | Fri Jul 09 14:07:12 2010 -0500 |
committer | Pekka Enberg <penberg@cs.helsinki.fi> | Fri Jul 16 11:13:07 2010 +0300 |
tree | 24f82cf0c312c69291b7f4ed4879a0a345558cac | |
parent | f90ec390148fdbc0db38c477bc6dc94db721e7f1 [diff] |
slub: Check kasprintf results in kmem_cache_init() Small allocations may fail during slab bringup which is fatal. Add a BUG_ON() so that we fail immediately rather than failing later during sysfs processing. Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>