diff options
Diffstat (limited to 'sys/nfs4client/nfs4_vn_subs.c')
-rw-r--r-- | sys/nfs4client/nfs4_vn_subs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs4client/nfs4_vn_subs.c b/sys/nfs4client/nfs4_vn_subs.c index cded7f5..dd6617b 100644 --- a/sys/nfs4client/nfs4_vn_subs.c +++ b/sys/nfs4client/nfs4_vn_subs.c @@ -98,10 +98,10 @@ nfs4_vnop_loadattrcache(struct vnode *vp, struct nfsv4_fattr *fap, */ np = VTONFS(vp); vap = &np->n_vattr; - if (vp->v_type != vtyp || np->n_mtime == 0) { + if (vp->v_type != vtyp || np->n_mtime.tv_sec == 0) { bzero(vap, sizeof *vap); vp->v_type = vtyp; - np->n_mtime = mtime.tv_sec; + np->n_mtime.tv_sec = mtime.tv_sec; } vap->va_type = vtyp; vap->va_mode = (vmode & 07777); |