From d07df90843d9a603aa9e948310ab4afd468f1480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sun, 5 Dec 2021 15:13:35 +0100 Subject: [PATCH 1/2] zfeature_common#zfs_mod_supported_feature(): FreeBSD supports edonr 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 Signed-off-by: Ahelenia Ziemiańska --- module/zcommon/zfeature_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zcommon/zfeature_common.c b/module/zcommon/zfeature_common.c index da7454c118d7..dfb28a2a6ee9 100644 --- a/module/zcommon/zfeature_common.c +++ b/module/zcommon/zfeature_common.c @@ -225,7 +225,7 @@ 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__) From 2f05032f29357af6e0881e51ace884c22454447e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sun, 5 Dec 2021 15:15:11 +0100 Subject: [PATCH 2/2] FreeBSD: zfeature_common#zfs_mod_supported_feature(): ignore name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ahelenia Ziemiańska --- module/zcommon/zfeature_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/zcommon/zfeature_common.c b/module/zcommon/zfeature_common.c index dfb28a2a6ee9..8d84c6d15148 100644 --- a/module/zcommon/zfeature_common.c +++ b/module/zcommon/zfeature_common.c @@ -229,6 +229,7 @@ zfs_mod_supported_feature(const char *name) */ #if defined(_KERNEL) || defined(LIB_ZPOOL_BUILD) || defined(__FreeBSD__) + (void) name; return (B_TRUE); #else return (zfs_mod_supported(ZFS_SYSFS_POOL_FEATURES, name));