Skip to content

Commit ea6749c

Browse files
author
Kent Overstreet
committed
Export __lockdep_no_validate__
Hack, but bcache needs a way around lockdep for locking during garbage collection - we need to keep multiple btree nodes locked for coalescing and rw_lock_nested() isn't really sufficient or appropriate here. Signed-off-by: Kent Overstreet <[email protected]> CC: Peter Zijlstra <[email protected]> CC: Ingo Molnar <[email protected]>
1 parent 9ca8f8e commit ea6749c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/lockdep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2997,6 +2997,7 @@ void lockdep_init_map(struct lockdep_map *lock, const char *name,
29972997
EXPORT_SYMBOL_GPL(lockdep_init_map);
29982998

29992999
struct lock_class_key __lockdep_no_validate__;
3000+
EXPORT_SYMBOL_GPL(__lockdep_no_validate__);
30003001

30013002
static int
30023003
print_lock_nested_lock_not_held(struct task_struct *curr,

0 commit comments

Comments
 (0)