Fix build: newnp represents newvp so KDTRACE_NFS_ATTRCACHE_FLUSH_DONE()

on newvp instead of vp here.
This commit is contained in:
Xin LI 2010-05-27 22:59:37 +00:00
parent eee6151f46
commit 76af820152
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208605

View File

@ -974,7 +974,7 @@ nfs_lookup(struct vop_lookup_args *ap)
(ISLASTCN | ISOPEN) && !(newnp->n_flag & NMODIFIED)) {
mtx_lock(&newnp->n_mtx);
newnp->n_attrstamp = 0;
KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp);
KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(newvp);
mtx_unlock(&newnp->n_mtx);
}
if (VOP_GETATTR(newvp, &vattr, cnp->cn_cred) == 0 &&