linux/fs/lockd
Trond Myklebust 95d42a8d3d lockd: set other missing fields when unlocking files
[ Upstream commit 18ebd35b61 ]

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: aec158242b ("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>
2022-12-31 13:14:05 +01:00
..
Makefile
clnt4xdr.c
clntlock.c
clntproc.c
clntxdr.c
host.c
mon.c
netns.h
procfs.c
procfs.h
svc.c NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
svc4proc.c lockd: detect and reject lock arguments that overflow 2022-08-17 14:22:47 +02:00
svclock.c lockd: don't attempt blocking locks on nfs reexports 2021-08-26 15:32:18 -04:00
svcproc.c Keep read and write fds with each nlm_file 2021-08-23 18:05:31 -04:00
svcshare.c
svcsubs.c lockd: set other missing fields when unlocking files 2022-12-31 13:14:05 +01:00
svcxdr.h NLM: Fix svcxdr_encode_owner() 2021-09-17 10:35:10 -04:00
xdr.c lockd: Update the NLMv1 SHARE results encoder to use struct xdr_stream 2021-07-06 20:14:43 -04:00
xdr4.c lockd: detect and reject lock arguments that overflow 2022-08-17 14:22:47 +02:00