Skip to content

Commit ef0ecd4

Browse files
committed
Simple change to fix building in recent environments.
Renamed _fini too for symmetry. Closes: #11987 Closes: #12056 Suggested-by: @ensch Signed-off-by: Rich Ercolani <[email protected]>
1 parent 7457b02 commit ef0ecd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

module/os/linux/zfs/zfs_ioctl_os.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ zfsdev_detach(void)
228228
#endif
229229

230230
static int __init
231-
_init(void)
231+
openzfs_init(void)
232232
{
233233
int error;
234234

@@ -254,7 +254,7 @@ _init(void)
254254
}
255255

256256
static void __exit
257-
_fini(void)
257+
openzfs_fini(void)
258258
{
259259
zfs_sysfs_fini();
260260
zfs_kmod_fini();
@@ -264,8 +264,8 @@ _fini(void)
264264
}
265265

266266
#if defined(_KERNEL)
267-
module_init(_init);
268-
module_exit(_fini);
267+
module_init(openzfs_init);
268+
module_exit(openzfs_fini);
269269
#endif
270270

271271
ZFS_MODULE_DESCRIPTION("ZFS");

0 commit comments

Comments
 (0)