summaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_crypt.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-01-21 15:05:23 -0800
committerBrian Behlendorf <[email protected]>2020-01-21 15:05:23 -0800
commitaf26a8695847bd6edffc750c3a5d26b430b4704e (patch)
tree12cdb002f597a66871469759d6d77461047e5e4c /module/zfs/dsl_crypt.c
parentd3c1e45b7a583e9447b2884c2972987fc49e79c6 (diff)
Update tunable macro usage for disable_ivset_guid_check
Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9861
Diffstat (limited to 'module/zfs/dsl_crypt.c')
-rw-r--r--module/zfs/dsl_crypt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/module/zfs/dsl_crypt.c b/module/zfs/dsl_crypt.c
index 96a402ffa..762933dd0 100644
--- a/module/zfs/dsl_crypt.c
+++ b/module/zfs/dsl_crypt.c
@@ -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