From 510885a84ce85a484cc228066e97d8c61717d414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Thu, 9 Dec 2021 02:01:36 +0100 Subject: [PATCH] FreeBSD supports edonr follow up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This chases 269b5dadcfd1d5732cf763dddcd46009a332eae4 (#12735), which touched the actual code but didn't fix the comment Additionally, ignore the name. Reviewed-by: Ryan Moeller Reviewed-by: Brian Behlendorf Reviewed-by: Rich Ercolani Signed-off-by: Ahelenia ZiemiaƄska Closes #12823 --- module/zcommon/zfeature_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/zcommon/zfeature_common.c b/module/zcommon/zfeature_common.c index da7454c118..8d84c6d151 100644 --- a/module/zcommon/zfeature_common.c +++ b/module/zcommon/zfeature_common.c @@ -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));