spa: fix signature mismatch for spa_boot_init as eventhandler required

Reviewed-by: Ameer Hamza <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: SHENGYI HONG <[email protected]>
Closes #17088
This commit is contained in:
aokblast authored and GitHub committed 2025-02-25 14:28:57 -05:00
1 parent d7d2744711
commit a5fb5c55be
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1214,7 +1214,7 @@ extern void vdev_mirror_stat_fini(void);
/* Initialization and termination */
extern void spa_init(spa_mode_t mode);
extern void spa_fini(void);
extern void spa_boot_init(void);
extern void spa_boot_init(void *);
/* properties */
extern int spa_prop_set(spa_t *spa, nvlist_t *nvp);
+2 -1
View File
@@ -2549,8 +2549,9 @@ spa_name_compare(const void *a1, const void *a2)
}
void
spa_boot_init(void)
spa_boot_init(void *unused)
{
(void) unused;
spa_config_load();
}