Export __lockdep_no_validate__
authorKent Overstreet <koverstreet@google.com>
Fri, 28 Dec 2012 06:21:58 +0000 (22:21 -0800)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 22:53:52 +0000 (15:53 -0700)
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>
kernel/lockdep.c

index 259db207b5d90806536da88963e7d1b469e1b943..60248a78bec01923aa1baaec8a079f95253c3764 100644 (file)
@@ -2997,6 +2997,7 @@ void lockdep_init_map(struct lockdep_map *lock, const char *name,
 EXPORT_SYMBOL_GPL(lockdep_init_map);
 
 struct lock_class_key __lockdep_no_validate__;
+EXPORT_SYMBOL_GPL(__lockdep_no_validate__);
 
 static int
 print_lock_nested_lock_not_held(struct task_struct *curr,