]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r323002 (by emaste): zfs: do not advertise edonr which is not yet supported
authormav <mav@FreeBSD.org>
Sat, 17 Feb 2018 23:54:59 +0000 (23:54 +0000)
committermav <mav@FreeBSD.org>
Sat, 17 Feb 2018 23:54:59 +0000 (23:54 +0000)
commit42ecd716d114e45da86cd4137f531352e59d7243
tree5c8d499e385e10283fd40453f59b05b014bf3636
parentaf7d202e1dcdeda020ee1fdb96e2b1eb4dbbad39
MFC r323002 (by emaste): zfs: do not advertise edonr which is not yet supported

illumos 4185 ("add new cryptographic checksums to ZFS: SHA-512,
Skein, Edon-R") was intentionally merged only partially in r289422,
without adding support for skein, sha512 and edonr on FreeBSD.

Support for skein and sha512 was added later on, but edonr is still not
implemented in FreeBSD.

Prior to this commit zfs(8) correctly rejected edonr, but with an error
message that claimed support:

fk@r500 ~ $zfs set checksum=edonr tank
cannot set property for 'tank': 'checksum' must be one of 'on | off | fletcher2 | fletcher4 | sha256 | sha512 | skein | edonr'
sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c