Skip to content

Commit cfc8260

Browse files
rincebraintonyhutter
authored andcommitted
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
1 parent e26776f commit cfc8260

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
@@ -277,7 +277,7 @@ zfsdev_detach(void)
277277
#endif
278278

279279
static int __init
280-
_init(void)
280+
openzfs_init(void)
281281
{
282282
int error;
283283

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

305305
static void __exit
306-
_fini(void)
306+
openzfs_fini(void)
307307
{
308308
zfs_sysfs_fini();
309309
zfs_kmod_fini();
@@ -313,8 +313,8 @@ _fini(void)
313313
}
314314

315315
#if defined(_KERNEL)
316-
module_init(_init);
317-
module_exit(_fini);
316+
module_init(openzfs_init);
317+
module_exit(openzfs_fini);
318318
#endif
319319

320320
ZFS_MODULE_DESCRIPTION("ZFS");

0 commit comments

Comments
 (0)