explicitly set birthtime to VNOVAL, since there is no such thing in nfsv{2,3}
This commit is contained in:
parent
e4424d53b1
commit
799fe367ce
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_subs.c,v 1.204 2008/06/04 12:41:40 ad Exp $ */
|
||||
/* $NetBSD: nfs_subs.c,v 1.205 2008/07/15 16:06:58 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -70,7 +70,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.204 2008/06/04 12:41:40 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.205 2008/07/15 16:06:58 christos Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
|
@ -1724,6 +1724,8 @@ nfs_loadattrcache(vpp, fp, vaper, flags)
|
|||
vap->va_rdev = (dev_t)rdev;
|
||||
vap->va_mtime = mtime;
|
||||
vap->va_ctime = ctime;
|
||||
vap->va_birthtime.tv_sec = VNOVAL;
|
||||
vap->va_birthtime.tv_nsec = VNOVAL;
|
||||
vap->va_fsid = vp->v_mount->mnt_stat.f_fsidx.__fsid_val[0];
|
||||
switch (vtyp) {
|
||||
case VDIR:
|
||||
|
|
Loading…
Reference in New Issue