]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Update tunable macro usage for disable_ivset_guid_check
authorMatthew Macy <mmacy@freebsd.org>
Tue, 21 Jan 2020 23:05:23 +0000 (15:05 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 21 Jan 2020 23:05:23 +0000 (15:05 -0800)
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9861

module/zfs/dsl_crypt.c

index 96a402ffa220b77f7bb5413a737bde574d16dc98..762933dd022517bdb74e29588a35a1eda1d1f887 100644 (file)
@@ -2894,8 +2894,5 @@ error:
        return (ret);
 }
 
-#if defined(_KERNEL)
-module_param(zfs_disable_ivset_guid_check, int, 0644);
-MODULE_PARM_DESC(zfs_disable_ivset_guid_check,
+ZFS_MODULE_PARAM(zfs, zfs_, disable_ivset_guid_check, INT, ZMOD_RW,
        "Set to allow raw receives without IVset guids");
-#endif