From: Christoph Lameter Date: Fri, 9 Jul 2010 19:07:12 +0000 (-0500) Subject: slub: Check kasprintf results in kmem_cache_init() X-Git-Tag: v2.6.36-rc1~519^2^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7278bd7d1aab5c6d35fd271eeb860548f0bd0bb;p=pandora-kernel.git 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 Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed