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 <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Clint Armstrong <clint@clintarmstrong.net>
Closes #10761
This commit is contained in:
Clint Armstrong 2020-08-22 13:58:07 -04:00 committed by GitHub
parent 6fe3498ca3
commit 1ddd7cdb92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,9 +403,9 @@ zfs_prop_init(void)
"CHECKSUM", checksum_table); "CHECKSUM", checksum_table);
zprop_register_index(ZFS_PROP_DEDUP, "dedup", ZIO_CHECKSUM_OFF, zprop_register_index(ZFS_PROP_DEDUP, "dedup", ZIO_CHECKSUM_OFF,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, 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__) #if !defined(__FreeBSD__)
"skein[,verify], edonr,verify", "skein[,verify] | edonr,verify",
#else #else
"skein[,verify]", "skein[,verify]",
#endif #endif