summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2004-08-30 08:38:30 +0000
committerColin Percival <cperciva@FreeBSD.org>2004-08-30 08:38:30 +0000
commit972be79add240fc128e3b96c39e35d7824192829 (patch)
treec8810051f7920b97afa4345272752548df53e723 /sys/dev
parent1fc4519b1dceb56916d29176c064dcc9b3bbcf6d (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/md/md.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 5059943cf46f..607c492dbc7a 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -735,7 +735,8 @@ mdinit(struct md_s *sc)
sc->pp = pp;
g_error_provider(pp, 0);
g_topology_unlock();
- g_waitidle();
+ if (sc->type != MD_PRELOAD)
+ g_waitidle();
PICKUP_GIANT();
}