FreeBSD supports edonr follow up

This chases 269b5dadcf (#12735),
which touched the actual code but didn't fix the comment

Additionally, ignore the name.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12823
This commit is contained in:
наб 2021-12-09 02:01:36 +01:00 committed by GitHub
parent 9699e45d57
commit 510885a84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -225,10 +225,11 @@ zfs_mod_supported_feature(const char *name)
* *
* The equivalent _can_ be done on FreeBSD by way of the sysctl * The equivalent _can_ be done on FreeBSD by way of the sysctl
* tree, but this has not been done yet. Therefore, we return * tree, but this has not been done yet. Therefore, we return
* that all features except edonr are supported. * that all features are supported.
*/ */
#if defined(_KERNEL) || defined(LIB_ZPOOL_BUILD) || defined(__FreeBSD__) #if defined(_KERNEL) || defined(LIB_ZPOOL_BUILD) || defined(__FreeBSD__)
(void) name;
return (B_TRUE); return (B_TRUE);
#else #else
return (zfs_mod_supported(ZFS_SYSFS_POOL_FEATURES, name)); return (zfs_mod_supported(ZFS_SYSFS_POOL_FEATURES, name));