aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2004-08-22 19:44:24 +0000
committerColin Percival <cperciva@FreeBSD.org>2004-08-22 19:44:24 +0000
commit2b004a226d3c60ff159bc0988cda6ae660961f18 (patch)
tree2983508cf020ea466df47c26609eb083766269a9 /sys/dev
parentbf5ab950e36c429a7bff391768288459084e5710 (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 bc61930fb83d..5059943cf46f 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();
}