kernel_samsung_a53x/fs/lockd
Trond Myklebust d9c678470a lockd: set other missing fields when unlocking files
[ Upstream commit 18ebd35b61b4693a0ddc270b6d4f18def232e770 ]

vfs_lock_file() expects the struct file_lock to be fully initialised by
the caller. Re-exported NFSv3 has been seen to Oops if the fl_file field
is NULL.

Fixes: aec158242b87 ("lockd: set fl_owner when unlocking files")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216582
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:28:28 +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: set other missing fields when unlocking files 2024-11-19 12:28:28 +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