mirror of
https://git.proxmox.com/git/mirror_zfs
synced 2025-04-28 09:46:17 +00:00
spa: fix signature mismatch for spa_boot_init as eventhandler required
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: SHENGYI HONG <aokblast@FreeBSD.org> Closes #17088
This commit is contained in:
parent
c2668b2d10
commit
383256c329
@ -1213,7 +1213,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);
|
||||
|
@ -2521,8 +2521,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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user