Skip to content

Commit

Permalink
FreeBSD supports edonr follow up
Browse files Browse the repository at this point in the history
This chases 269b5da (#12735),
which touched the actual code but didn't fix the comment

Additionally, ignore the name.

Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Rich Ercolani <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12823
  • Loading branch information
nabijaczleweli committed Dec 9, 2021
1 parent 9699e45 commit 510885a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/zcommon/zfeature_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,11 @@ zfs_mod_supported_feature(const char *name)
*
* The equivalent _can_ be done on FreeBSD by way of the sysctl
* 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__)
(void) name;
return (B_TRUE);
#else
return (zfs_mod_supported(ZFS_SYSFS_POOL_FEATURES, name));
Expand Down

0 comments on commit 510885a

Please sign in to comment.