Moved geom class initialization to SI_SUB_DRIVERS from SI_SUB_PSEUDO.

This fixes mounting root from md(4) which calls disk_create() early.
This commit is contained in:
jake 2002-10-14 20:20:17 +00:00
parent 67d568c288
commit 121b5e9dc2

View File

@ -311,7 +311,7 @@ extern struct sx topology_lock;
} while (0) } while (0)
#define DECLARE_GEOM_CLASS_INIT(class, name, init) \ #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) \ #define DECLARE_GEOM_CLASS(class, name) \
static void \ static void \