slub: use lockdep_assert_held
authorPeter Zijlstra <peterz@infradead.org>
Fri, 10 Jan 2014 12:23:49 +0000 (13:23 +0100)
committerPekka Enberg <penberg@kernel.org>
Mon, 13 Jan 2014 19:34:39 +0000 (21:34 +0200)
Instead of using comments in an attempt at getting the locking right,
use proper assertions that actively warn you if you got it wrong.

Also add extra braces in a few sites to comply with coding-style.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c

diff --cc mm/slub.c
Simple merge