diff options
author | Trond Myklebust | 2022-11-06 14:02:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:00 +0100 |
commit | d7aa9f7778316beb690f6e2763b6d672ad8b256f (patch) | |
tree | da9bb5328a951468a2c9ed6b7b239718ae138966 /fs/afs | |
parent | 5c8e13a2b66abc290da39767bfb5ba3fba2b053e (diff) |
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>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions