summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-03-31 21:39:44 +0000
committerderaadt <deraadt@openbsd.org>2005-03-31 21:39:44 +0000
commit482e9f1a688aac651f13e67e15db9d97ade30689 (patch)
tree7946b9e59fb247dbb5200423672dd479f11cea91 /sys
parentReduce MAX and Default DATA Segment sizes to leave more MMAP space for (diff)
downloadwireguard-openbsd-482e9f1a688aac651f13e67e15db9d97ade30689.tar.xz
wireguard-openbsd-482e9f1a688aac651f13e67e15db9d97ade30689.zip
re-commit marius commit:
> fix preposterous time warnings in the nfs client; caused by false hits > in the attribute cache > based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@ was backed out because too close to release put back in now, since tree is unlocked. unfortunately it appears that even after MANY MAILS ON THIS SUBJECT, NOONE HAS DONE THIS. WTF? Noone wants to FINISH jobs anymore?
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nfs_vfsops.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index c2c74cfe9d2..208cb0ef8aa 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.55 2005/02/01 15:00:04 pvalchev Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.56 2005/03/31 21:39:44 deraadt Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -261,15 +261,6 @@ nfs_mountroot()
procp = curproc; /* XXX */
/*
- * XXX time must be non-zero when we init the interface or else
- * the arp code will wedge. [Fixed now in if_ether.c]
- * However, the NFS attribute cache gives false "hits" when
- * time_second < NFS_ATTRTIMEO(np) so keep this in for now.
- */
- if (time_second < NFS_MAXATTRTIMO)
- time_second = NFS_MAXATTRTIMO;
-
- /*
* Call nfs_boot_init() to fill in the nfs_diskless struct.
* Side effect: Finds and configures a network interface.
*/