mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Simple change to fix building in recent environments
Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #12059 Closes: #11987 Closes: #12056
This commit is contained in:
		
							parent
							
								
									8f3584292f
								
							
						
					
					
						commit
						272b178d52
					
				@ -283,7 +283,7 @@ zfsdev_detach(void)
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int __init
 | 
					static int __init
 | 
				
			||||||
_init(void)
 | 
					openzfs_init(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	int error;
 | 
						int error;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -309,7 +309,7 @@ _init(void)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void __exit
 | 
					static void __exit
 | 
				
			||||||
_fini(void)
 | 
					openzfs_fini(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	zfs_sysfs_fini();
 | 
						zfs_sysfs_fini();
 | 
				
			||||||
	zfs_kmod_fini();
 | 
						zfs_kmod_fini();
 | 
				
			||||||
@ -319,8 +319,8 @@ _fini(void)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(_KERNEL)
 | 
					#if defined(_KERNEL)
 | 
				
			||||||
module_init(_init);
 | 
					module_init(openzfs_init);
 | 
				
			||||||
module_exit(_fini);
 | 
					module_exit(openzfs_fini);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ZFS_MODULE_DESCRIPTION("ZFS");
 | 
					ZFS_MODULE_DESCRIPTION("ZFS");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user