slub: Fix slub_lock down/up imbalance
authorPavel Emelyanov <xemul@parallels.com>
Thu, 28 Oct 2010 09:50:37 +0000 (13:50 +0400)
committerPekka Enberg <penberg@kernel.org>
Sun, 14 Nov 2010 14:53:11 +0000 (16:53 +0200)
commit68cee4f118c21a1c67e5764a91d766661db5b360
tree17c487ce969cc66a4be5048ed12cb5ec070c2fc2
parentc8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4
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