From 272b178d524112f2a48996d431c9ed51fe41791f Mon Sep 17 00:00:00 2001 From: Rich Ercolani <214141+rincebrain@users.noreply.github.com> Date: Wed, 19 May 2021 23:46:42 -0400 Subject: [PATCH] Simple change to fix building in recent environments Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen Reviewed-by: Brian Behlendorf Signed-off-by: Rich Ercolani Closes #12059 Closes: #11987 Closes: #12056 --- module/os/linux/zfs/zfs_ioctl_os.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/os/linux/zfs/zfs_ioctl_os.c b/module/os/linux/zfs/zfs_ioctl_os.c index 6f5cff1770..812f9c0ea1 100644 --- a/module/os/linux/zfs/zfs_ioctl_os.c +++ b/module/os/linux/zfs/zfs_ioctl_os.c @@ -283,7 +283,7 @@ zfsdev_detach(void) #endif static int __init -_init(void) +openzfs_init(void) { int error; @@ -309,7 +309,7 @@ _init(void) } static void __exit -_fini(void) +openzfs_fini(void) { zfs_sysfs_fini(); zfs_kmod_fini(); @@ -319,8 +319,8 @@ _fini(void) } #if defined(_KERNEL) -module_init(_init); -module_exit(_fini); +module_init(openzfs_init); +module_exit(openzfs_fini); #endif ZFS_MODULE_DESCRIPTION("ZFS");