diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-11-16 15:19:43 +0100 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2022-11-30 11:08:10 +0100 |
commit | 98b41ffe0afdfeaa1439a5d6bd2db4a94277e31b (patch) | |
tree | 7222c593c759fa14cb39743a74212efd2852ffe8 /security | |
parent | ksmbd: use locks_inode_context helper (diff) | |
download | linux-98b41ffe0afdfeaa1439a5d6bd2db4a94277e31b.tar.xz linux-98b41ffe0afdfeaa1439a5d6bd2db4a94277e31b.zip |
lockd: use locks_inode_context helper
lockd currently doesn't access i_flctx safely. This requires a
smp_load_acquire, as the pointer is set via cmpxchg (a release
operation).
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna@kernel.org>
Cc: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions