slub: Fix slub_lock down/up imbalance
commit98072e4d977aabe6a39abb95951cd8bf2c2202d5
authorPavel Emelyanov <xemul@parallels.com>
Thu, 28 Oct 2010 09:50:37 +0000 (28 13:50 +0400)
committerPekka Enberg <penberg@kernel.org>
Sat, 6 Nov 2010 07:04:33 +0000 (6 09:04 +0200)
treea4bbecec358e8ef295ac6df3e626a16218f2d98d
parent716ce5d4a6f81653507c21b152eb7629d150ce7a
slub: Fix slub_lock down/up imbalance

There are two places, that do not release the slub_lock.

Respective bugs were introduced by sysfs changes ab4d5ed5 (slub: Enable
sysfs support for !CONFIG_SLUB_DEBUG) and 2bce6485 ( slub: Allow removal
of slab caches during boot).

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c