Skip to content

Commit 2ccf4d3

Browse files
rincebrainRageLtMan
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 openzfs#12059 Closes: openzfs#11987 Closes: openzfs#12056
1 parent 28efcbf commit 2ccf4d3

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
@@ -283,7 +283,7 @@ zfsdev_detach(void)
283283
#endif
284284

285285
static int __init
286-
_init(void)
286+
openzfs_init(void)
287287
{
288288
int error;
289289

@@ -309,7 +309,7 @@ _init(void)
309309
}
310310

311311
static void __exit
312-
_fini(void)
312+
openzfs_fini(void)
313313
{
314314
zfs_sysfs_fini();
315315
zfs_kmod_fini();
@@ -319,8 +319,8 @@ _fini(void)
319319
}
320320

321321
#if defined(_KERNEL)
322-
module_init(_init);
323-
module_exit(_fini);
322+
module_init(openzfs_init);
323+
module_exit(openzfs_fini);
324324
#endif
325325

326326
ZFS_MODULE_DESCRIPTION("ZFS");

0 commit comments

Comments
 (0)