summaryrefslogtreecommitdiffstats
path: root/module/zcommon/zfs_prop.c
diff options
context:
space:
mode:
authorClint Armstrong <[email protected]>2020-08-22 13:58:07 -0400
committerGitHub <[email protected]>2020-08-22 10:58:07 -0700
commit1ddd7cdb92641c150cb5f88722f097dcc63d2f3d (patch)
tree8f76326e07e8522acef133d1972649329085142e /module/zcommon/zfs_prop.c
parent6fe3498ca3406ffb10f729ab4f9cf63f10c74ede (diff)
Make formatting of dedup values string consistent
All other prop values return options separated by ` | `, dedup values do not, they are separated by `, `. This change makes the dedup value formatting consistent with other properties. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Clint Armstrong <[email protected]> Closes #10761
Diffstat (limited to 'module/zcommon/zfs_prop.c')
-rw-r--r--module/zcommon/zfs_prop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c
index 272e0e93c..837b8ae71 100644
--- a/module/zcommon/zfs_prop.c
+++ b/module/zcommon/zfs_prop.c
@@ -403,9 +403,9 @@ zfs_prop_init(void)
"CHECKSUM", checksum_table);
zprop_register_index(ZFS_PROP_DEDUP, "dedup", ZIO_CHECKSUM_OFF,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
- "on | off | verify | sha256[,verify], sha512[,verify], "
+ "on | off | verify | sha256[,verify] | sha512[,verify] | "
#if !defined(__FreeBSD__)
- "skein[,verify], edonr,verify",
+ "skein[,verify] | edonr,verify",
#else
"skein[,verify]",
#endif