Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <koverstreet@google.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Ingo Molnar <mingo@redhat.com>

+1
+1
kernel/lockdep.c
··· 2997 2997 EXPORT_SYMBOL_GPL(lockdep_init_map); 2998 2998 2999 2999 struct lock_class_key __lockdep_no_validate__; 3000 + EXPORT_SYMBOL_GPL(__lockdep_no_validate__); 3000 3001 3001 3002 static int 3002 3003 print_lock_nested_lock_not_held(struct task_struct *curr,