diff options
author | Matthew Wilcox <[email protected]> | 2018-01-17 07:14:12 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-18 11:56:48 +0100 |
commit | 64f29d1bc9fb8196df3d0f1df694245230e208c0 (patch) | |
tree | fbd97ed1f1ee7d1e9c23c86b1314135b24fcc5e8 /net/unix/sysctl_net_unix.c | |
parent | 1d966eb4d6326a2521073174e9710713e9846e8b (diff) |
lockdep: Assign lock keys on registration
Lockdep is assigning lock keys when a lock was looked up. This is
unnecessary; if the lock has never been registered then it is known that it
is not locked. It also complicates the calling convention. Switch to
assigning the lock key in register_lock_class().
Signed-off-by: Matthew Wilcox <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: "David S. Miller" <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions