mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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:
parent
baeb8a4774
commit
60e0e42e3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue