summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/md/md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index bc61930..5059943 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -735,6 +735,7 @@ mdinit(struct md_s *sc)
sc->pp = pp;
g_error_provider(pp, 0);
g_topology_unlock();
+ g_waitidle();
PICKUP_GIANT();
}
OpenPOWER on IntegriCloud