aboutsummaryrefslogtreecommitdiffstats
path: root/module/os
diff options
context:
space:
mode:
authorRich Ercolani <[email protected]>2021-05-19 23:46:42 -0400
committerGitHub <[email protected]>2021-05-19 20:46:42 -0700
commit1d106ab57a53dced72d0798c62635f11b8242bd1 (patch)
tree0ceb246218204234bd3fe1e03eef4aac95d8088a /module/os
parent7457b024ba2be2cf742e07239c20a1c3f3fa9c72 (diff)
Simple change to fix building in recent environments
Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12059 Closes: #11987 Closes: #12056
Diffstat (limited to 'module/os')
-rw-r--r--module/os/linux/zfs/zfs_ioctl_os.c8
1 files 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 54a0cb02f..b9fcaaad7 100644
--- a/module/os/linux/zfs/zfs_ioctl_os.c
+++ b/module/os/linux/zfs/zfs_ioctl_os.c
@@ -228,7 +228,7 @@ zfsdev_detach(void)
#endif
static int __init
-_init(void)
+openzfs_init(void)
{
int error;
@@ -254,7 +254,7 @@ _init(void)
}
static void __exit
-_fini(void)
+openzfs_fini(void)
{
zfs_sysfs_fini();
zfs_kmod_fini();
@@ -264,8 +264,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");