mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03: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
							
								
									d7d2744711
								
							
						
					
					
						commit
						a5fb5c55be
					
				| @ -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); | ||||
|  | ||||
| @ -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(); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 aokblast
						aokblast