Skip to content
Snippets Groups Projects
Commit c65c1877 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Pekka Enberg
Browse files

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: default avatarPeter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 8afb1474
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment