summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1998-03-14 03:25:18 +0000
committertegge <tegge@FreeBSD.org>1998-03-14 03:25:18 +0000
commit3483aa429fc32f1e613bff2b2f885f0ef7335433 (patch)
treeb5afd6b21266a185ed638fd66eca8443992fea4d /sys/nfsclient/nfs_vfsops.c
parentc152386e5a25bad66d6be8df3bc8db31976a407e (diff)
downloadFreeBSD-src-3483aa429fc32f1e613bff2b2f885f0ef7335433.zip
FreeBSD-src-3483aa429fc32f1e613bff2b2f885f0ef7335433.tar.gz
Update workaround for limitations in the arp code.
Adjust the RPC timeout message which occured when the old workaround broke to show the correct IP address.
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 9ad89eb..b301b24 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
- * $Id: nfs_vfsops.c,v 1.54 1998/02/09 06:10:39 eivind Exp $
+ * $Id: nfs_vfsops.c,v 1.55 1998/03/01 22:46:30 msmith Exp $
*/
#include <sys/param.h>
@@ -399,8 +399,8 @@ nfs_mountroot(mp)
* XXX time must be non-zero when we init the interface or else
* the arp code will wedge...
*/
- if (time.tv_sec == 0)
- time.tv_sec = 1;
+ while (time.tv_sec == 0)
+ tsleep(&time, PZERO+8, "arpkludge", 10);
if (nfs_diskless_valid==1)
nfs_convert_diskless();
OpenPOWER on IntegriCloud