HomeFreeBSD

nfscl: Set n_localmodtime in Deallocate

Description

nfscl: Set n_localmodtime in Deallocate

Commit 2be417843a04 added n_localmodtime, which is used by Lookup
and ReaddirPlus to check to see if the file attributes in an RPC
reply might be stale. This patch sets n_localmodtime in Deallocate.
Done as a separate commit, since Deallocate is not in stable/13.

PR: 259071
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D32635

Details

Provenance
rmacklemAuthored on Oct 30 2021, 11:46 PM
Reviewer
asomers
Differential Revision
D32635: fix race between Lookup and file modifying RPCs in the NFS client
Parents
rG2be417843a04: PR#259071 provides a test program that fails for the NFS client.
Branches
Unknown
Tags
Unknown