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 Burkholder 2002-10-14 20:20:17 +00:00
parent baeb8a4774
commit 60e0e42e3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105124

View file

@ -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 \