diff options
author | Matthew Wilcox <[email protected]> | 2018-01-17 07:14:13 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-18 11:56:48 +0100 |
commit | 08f36ff642342fb058212099757cb5d40f158c2a (patch) | |
tree | 76d1cd26040f49c782799e2d621f80258a33ca2d /net/unix/sysctl_net_unix.c | |
parent | 64f29d1bc9fb8196df3d0f1df694245230e208c0 (diff) |
lockdep: Make lockdep checking constant
There are several places in the kernel which would like to pass a const
pointer to lockdep_is_held(). Constify the entire path so nobody has to
trick the compiler.
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