summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-24 19:26:08 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-24 19:26:08 +0000
commit7c0c26b4c40177cba68cd8eb85a2bc88744cdd0c (patch)
tree2338f9a4bcbc068e3753bae6f709bb2b82455912
parentd3eaf409666421627b8bf441c6093fa51f263d19 (diff)
Notes
-rw-r--r--sys/kern/vfs_mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index d6235086c51f..5166ab4c518c 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1465,6 +1465,8 @@ vfs_mountroot(void)
panic("Root mount failed, startup aborted.");
}
+void g_waitidle(void);
+
/*
* Mount (mountfrom) as the root filesystem.
*/
@@ -1483,6 +1485,8 @@ vfs_mountroot_try(char *mountfrom)
mp = NULL;
error = EINVAL;
+ g_waitidle();
+
if (mountfrom == NULL)
return(error); /* don't complain */