]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfsd: Add support for CLAIM_DELEG_PREV_FH to the NFSv4.1/4.2 Open
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 21 May 2021 01:37:40 +0000 (18:37 -0700)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 4 Jun 2021 03:27:05 +0000 (20:27 -0700)
commit5713766d631787677a291490e0b8e369d30be43e
treeb8297419fc4c37206da5b78a277640899187617b
parent8513b4f15362161c38c18a4262997468951d3ea0
nfsd: Add support for CLAIM_DELEG_PREV_FH to the NFSv4.1/4.2 Open

Commit b3d4c70dc60f added support for CLAIM_DELEG_CUR_FH to Open.
While doing this, I noticed that CLAIM_DELEG_PREV_FH support
could be added the same way.  Although I am not aware of any extant
NFSv4.1/4.2 client that uses this claim type, it seems prudent to add
support for this variant of Open to the NFSv4.1/4.2 server.

This patch does not affect mounts from extant NFSv4.1/4.2 clients,
as far as I know.

(cherry picked from commit d80a903a1c2acd73afbf06598955a0887433f8c6)
sys/fs/nfsserver/nfs_nfsdserv.c