commit | c65c1877bd6826ce0d9713d76e30a7bed8e49f38 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Jan 10 13:23:49 2014 +0100 |
committer | Pekka Enberg <penberg@kernel.org> | Mon Jan 13 21:34:39 2014 +0200 |
tree | 27b07e870c75ac9f393017614bd6a93d0cca9415 | |
parent | 8afb1474db4701d1ab80cd8251137a3260e6913e [diff] |
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>