kernel_samsung_a53x/fs/lockd
Jeff Layton a94f9c633d lockd: use locks_inode_context helper
[ Upstream commit 98b41ffe0afdfeaa1439a5d6bd2db4a94277e31b ]

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>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:28:25 +01:00
..
clnt4xdr.c
clntlock.c
clntproc.c
clntxdr.c
host.c lockd: move from strlcpy with unused retval to strscpy 2024-11-19 12:28:21 +01:00
Makefile
mon.c
netns.h
procfs.c
procfs.h
svc.c NFSD: Move svc_serv_ops::svo_function into struct svc_serv 2024-11-19 12:27:54 +01:00
svc4proc.c SUNRPC: Parametrize how much of argsize should be zeroed 2024-11-19 12:28:23 +01:00
svclock.c NLM: Defend against file_lock changes after vfs_test_lock() 2024-11-19 12:27:59 +01:00
svcproc.c SUNRPC: Parametrize how much of argsize should be zeroed 2024-11-19 12:28:23 +01:00
svcshare.c
svcsubs.c lockd: use locks_inode_context helper 2024-11-19 12:28:25 +01:00
svcxdr.h
xdr.c
xdr4.c lockd: detect and reject lock arguments that overflow 2024-11-19 12:28:20 +01:00