slub: Allow removal of slab caches during boot
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 9 Jul 2010 19:07:13 +0000 (14:07 -0500)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 16 Jul 2010 08:13:07 +0000 (11:13 +0300)
commitf5b801ac38a9612b380ee9a75ab1861f0594e79f
treec43a34bfec58e91f1aa46e95462977e24b390a37
parentd7278bd7d1aab5c6d35fd271eeb860548f0bd0bb
slub: Allow removal of slab caches during boot

If a slab cache is removed before we have setup sysfs then simply skip over
the sysfs handling.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Roland Dreier <rdreier@cisco.com>
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>
mm/slub.c