summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/nfs/nfs_vfsops.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index d4f2cf0abc8..b89b7070897 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.48 2002/03/14 01:27:13 millert Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.49 2002/12/11 02:38:52 mickey Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -300,17 +300,12 @@ nfs_mountroot()
/* Get root attributes (for the time). */
error = VOP_GETATTR(rootvp, &attr, procp->p_ucred, procp);
if (error) panic("nfs_mountroot: getattr for root");
- n = attr.va_mtime.tv_sec;
+ n = attr.va_atime.tv_sec;
#ifdef DEBUG
printf("root time: 0x%lx\n", n);
#endif
inittodr(n);
- /*
- * XXX splnet, so networks will receive...
- */
- splnet();
-
#ifdef notyet
/* Set up swap credentials. */
proc0.p_ucred->cr_uid = ntohl(nd.swap_ucred.cr_uid);