summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-10-14 20:20:17 +0000
committerjake <jake@FreeBSD.org>2002-10-14 20:20:17 +0000
commit121b5e9dc27e9643933fc843d1118e1787819ff3 (patch)
treee105fed6c1e4eee9e4232f03c22480928ae706df /sys/geom/geom.h
parent67d568c288dae99ff29a150239c4a33bccf0d980 (diff)
downloadFreeBSD-src-121b5e9dc27e9643933fc843d1118e1787819ff3.zip
FreeBSD-src-121b5e9dc27e9643933fc843d1118e1787819ff3.tar.gz
Moved geom class initialization to SI_SUB_DRIVERS from SI_SUB_PSEUDO.
This fixes mounting root from md(4) which calls disk_create() early.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 289c9e1..8f416d4 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -311,7 +311,7 @@ extern struct sx topology_lock;
} while (0)
#define DECLARE_GEOM_CLASS_INIT(class, name, init) \
- SYSINIT(name, SI_SUB_PSEUDO, SI_ORDER_FIRST, init, NULL);
+ SYSINIT(name, SI_SUB_DRIVERS, SI_ORDER_FIRST, init, NULL);
#define DECLARE_GEOM_CLASS(class, name) \
static void \
OpenPOWER on IntegriCloud