HomeFreeBSD

nfsd: Add support for CLAIM_DELEG_PREV_FH to the NFSv4.1/4.2 Open

Description

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)

Details

Provenance
rmacklemAuthored on May 21 2021, 1:37 AM
Parents
rG8513b4f15362: nfscl: Fix NFSv4.1/4.2 mount recovery from an expired lease
Branches
Unknown
Tags
Unknown