From 1ddd7cdb92641c150cb5f88722f097dcc63d2f3d Mon Sep 17 00:00:00 2001 From: Clint Armstrong Date: Sat, 22 Aug 2020 13:58:07 -0400 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Clint Armstrong Closes #10761 --- module/zcommon/zfs_prop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index 272e0e93c9..837b8ae71b 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