nfsd: fix crash on LOCKT on reexported NFSv3
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 25 Aug 2021 02:36:03 +0000 (22:36 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 26 Aug 2021 19:32:29 +0000 (15:32 -0400)
commit0bcc7ca40bd823193224e9f38bafbd8325aaf566
tree7939b3e85d8ac8f175a0e0e7dcb9cc53f240fb12
parentbb0a55bb7148a49e549ee992200860e7a040d3a5
nfsd: fix crash on LOCKT on reexported NFSv3

Unlike other filesystems, NFSv3 tries to use fl_file in the GETLK case.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c