mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] lockdep: annotate nfs/nfsd in-kernel sockets
Stick NFS sockets in their own class to avoid some lockdep warnings. NFS sockets are never exposed to user-space, and will hence not trigger certain code paths that would otherwise pose deadlock scenarios. [[email protected]: cleanups] Signed-off-by: Peter Zijlstra <[email protected]> Signed-off-by: Steven Dickson <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: Trond Myklebust <[email protected]> Acked-by: Neil Brown <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> [ Fixed patch corruption by quilt, pointed out by Peter Zijlstra ] Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b9d85b08c6
commit
ed07536ed6
5 changed files with 87 additions and 18 deletions
|
|
@ -2645,6 +2645,7 @@ void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
|
|||
}
|
||||
local_irq_restore(flags);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(debug_check_no_locks_freed);
|
||||
|
||||
static void print_held_locks_bug(struct task_struct *curr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue