slub: use lockdep_assert_held

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>
This commit is contained in:
Peter Zijlstra 2014-01-10 13:23:49 +01:00 • committed by Pekka Enberg
commit c65c1877bd