Skip to content

Simple change to fix building in recent environments. #12059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions module/os/linux/zfs/zfs_ioctl_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ zfsdev_detach(void)
#endif

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

Expand All @@ -254,7 +254,7 @@ _init(void)
}

static void __exit
_fini(void)
openzfs_fini(void)
{
zfs_sysfs_fini();
zfs_kmod_fini();
Expand All @@ -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");
Expand Down