summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vnops.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-01-25 20:48:20 +0000
committerkib <kib@FreeBSD.org>2012-01-25 20:48:20 +0000
commit6f4618881e2ec08c5c24d6a1d4a2232a956d053b (patch)
tree0946bfe186a5e3f41b3c58eac64873eee6c9a82f /sys/nfsclient/nfs_vnops.c
parent30761935c6caad4e8f25453ffd5804be83563d02 (diff)
downloadFreeBSD-src-6f4618881e2ec08c5c24d6a1d4a2232a956d053b.zip
FreeBSD-src-6f4618881e2ec08c5c24d6a1d4a2232a956d053b.tar.gz
Fix remaining calls to cache_enter() in both NFS clients to provide
appropriate timestamps. Restore the assertions which verify that NCF_TS is set when timestamp is asked for. Reviewed by: jhb (previous version) MFC after: 2 weeks
Diffstat (limited to 'sys/nfsclient/nfs_vnops.c')
-rw-r--r--sys/nfsclient/nfs_vnops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index e032448..4ba1f7b 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -1532,8 +1532,6 @@ nfsmout:
if (newvp)
vput(newvp);
} else {
- if (cnp->cn_flags & MAKEENTRY)
- cache_enter(dvp, newvp, cnp);
*vpp = newvp;
}
mtx_lock(&(VTONFS(dvp))->n_mtx);
@@ -1672,8 +1670,6 @@ nfsmout:
vput(newvp);
}
if (!error) {
- if (cnp->cn_flags & MAKEENTRY)
- cache_enter(dvp, newvp, cnp);
*ap->a_vpp = newvp;
}
mtx_lock(&(VTONFS(dvp))->n_mtx);
OpenPOWER on IntegriCloud