diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-12-28 01:21:58 -0500 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 18:53:52 -0400 |
commit | ea6749c705d9e629ed03c7336cc929fc6014b834 (patch) | |
tree | ba269cc328fb1a9ed60fe866b55cee557cf24df4 /kernel/lockdep.c | |
parent | 9ca8f8e51003a51382cb4216e9029ee33ccf6c46 (diff) |
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>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 259db207b5d9..60248a78bec0 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -2997,6 +2997,7 @@ void lockdep_init_map(struct lockdep_map *lock, const char *name, | |||
2997 | EXPORT_SYMBOL_GPL(lockdep_init_map); | 2997 | EXPORT_SYMBOL_GPL(lockdep_init_map); |
2998 | 2998 | ||
2999 | struct lock_class_key __lockdep_no_validate__; | 2999 | struct lock_class_key __lockdep_no_validate__; |
3000 | EXPORT_SYMBOL_GPL(__lockdep_no_validate__); | ||
3000 | 3001 | ||
3001 | static int | 3002 | static int |
3002 | print_lock_nested_lock_not_held(struct task_struct *curr, | 3003 | print_lock_nested_lock_not_held(struct task_struct *curr, |