WSL2-Linux-Kernel/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
svc4proc.c lockd: detect and reject lock arguments that overflow 2022-08-17 14:22:47 +02:00
svclock.c
svcproc.c
svcshare.c
svcsubs.c lockd: set other missing fields when unlocking files 2022-12-31 13:14:05 +01:00
svcxdr.h
xdr.c
xdr4.c lockd: detect and reject lock arguments that overflow 2022-08-17 14:22:47 +02:00