]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfscl: Set n_localmodtime in Deallocate
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 30 Oct 2021 23:46:14 +0000 (16:46 -0700)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 30 Oct 2021 23:46:14 +0000 (16:46 -0700)
commitab87c39c257e7130677867f8e5c11a3ec53fa1bc
tree02beed21d8114f3135dbd388e39dde51df455aa3
parent2be417843a04f25e631e99d5188eb2652b13d80d
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
sys/fs/nfsclient/nfs_clvnops.c