summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-11-01 23:55:38 +0000
committerMike Smith <msmith@FreeBSD.org>1999-11-01 23:55:38 +0000
commitb7017a821026b7db5f6a42754befdd8a92e5041e (patch)
tree761babed4a21e25bd5af6161657b0afe68c18553 /sys/nfs
parentb676e48c981f8c6b006dda8f3160b6087c928c5c (diff)
downloadsrc-test2-b7017a821026b7db5f6a42754befdd8a92e5041e.tar.gz
src-test2-b7017a821026b7db5f6a42754befdd8a92e5041e.zip
Notes
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_vfsops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index d63f38dc3db7..dc9e053ac8cd 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -37,6 +37,8 @@
* $FreeBSD$
*/
+#include "opt_bootp.h"
+
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/proc.h>
@@ -399,6 +401,10 @@ nfs_mountroot(mp)
u_long l;
char buf[128];
+#if defined(BOOTP_NFSROOT) && defined(BOOTP)
+ bootpc_init(); /* use bootp to get nfs_diskless filled in */
+#endif
+
/*
* XXX time must be non-zero when we init the interface or else
* the arp code will wedge...