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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntlock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntproc.c SUNRPC: Trace calls to .rpc_call_done 2024-11-19 12:27:47 +01:00
clntxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
host.c lockd: move from strlcpy with unused retval to strscpy 2024-11-19 12:28:21 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netns.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcsubs.c lockd: use locks_inode_context helper 2024-11-19 12:28:25 +01:00
svcxdr.h NLM: Fix svcxdr_encode_owner() 2024-11-19 12:27:45 +01:00
xdr.c SUNRPC: Change return value type of .pc_encode 2024-11-19 12:27:48 +01:00
xdr4.c lockd: detect and reject lock arguments that overflow 2024-11-19 12:28:20 +01:00