Skip to content

Commit

Permalink
Simple change to fix building in recent environments
Browse files Browse the repository at this point in the history
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
rincebrain authored and tonyhutter committed Jun 23, 2021
1 parent e26776f commit cfc8260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/os/linux/zfs/zfs_ioctl_os.c
Original file line number Diff line number Diff line change
@@ -277,7 +277,7 @@ zfsdev_detach(void)
#endif

static int __init
_init(void)
openzfs_init(void)
{
int error;

@@ -303,7 +303,7 @@ _init(void)
}

static void __exit
_fini(void)
openzfs_fini(void)
{
zfs_sysfs_fini();
zfs_kmod_fini();
@@ -313,8 +313,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");

0 comments on commit cfc8260

Please sign in to comment.