diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-11-16 16:50:52 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2022-11-30 13:08:10 +0300 |
commit | 87f00aba211ef7308fd6c5d47d646a70bf196662 (patch) | |
tree | 75daa78b674d2a9402cf40033dd235d923222722 /fs/lockd | |
parent | a1fde8ee771f92d2a8bbd79532149ddd34546bc1 (diff) | |
download | linux-87f00aba211ef7308fd6c5d47d646a70bf196662.tar.xz |
ksmbd: use locks_inode_context helper
ksmbd currently doesn't access i_flctx safely. This requires a
smp_load_acquire, as the pointer is set via cmpxchg (a release
operation).
Cc: Steve French <sfrench@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions