diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-11-06 22:02:39 +0300 |
---|---|---|
committer | Chuck Lever <cel@kernel.org> | 2022-12-10 19:01:11 +0300 |
commit | 18ebd35b61b4693a0ddc270b6d4f18def232e770 (patch) | |
tree | f38d927eb8a886e0539e965993668f23d45e852c /fs/nfsd/nfs4proc.c | |
parent | d7064eaf688cfe454c50db9f59298463d80d403c (diff) | |
download | linux-18ebd35b61b4693a0ddc270b6d4f18def232e770.tar.xz |
lockd: set other missing fields when unlocking files
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>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions