]> Pileus Git - ~andy/linux/commit
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)
commitc65c1877bd6826ce0d9713d76e30a7bed8e49f38
tree27b07e870c75ac9f393017614bd6a93d0cca9415
parent8afb1474db4701d1ab80cd8251137a3260e6913e
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>
mm/slub.c