summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/nfs_vnops.c')
-rw-r--r--sys/nfsclient/nfs_vnops.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index 17c156d..54f8be5 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -594,13 +594,6 @@ nfs_close(struct vop_close_args *ap)
error = nfs_vinvalbuf(vp, V_SAVE, ap->a_td, 1);
mtx_lock(&np->n_mtx);
}
- /*
- * Invalidate the attribute cache in all cases.
- * An open is going to fetch fresh attrs any way, other procs
- * on this node that have file open will be forced to do an
- * otw attr fetch, but this is safe.
- */
- np->n_attrstamp = 0;
if (np->n_flag & NWRITEERR) {
np->n_flag &= ~NWRITEERR;
error = np->n_error;
OpenPOWER on IntegriCloud