From 12a240ac0b3b89e9210b3a2a539c1f74488e927d Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Tue, 7 Mar 2023 22:50:44 +0100 Subject: [PATCH] Fix a typo in ac2038a Reviewed-by: Brian Behlendorf Reviewed-by: Richard Yao Signed-off-by: George Amanakis Closes #14585 Closes #14592 --- cmd/zdb/zdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 58bd1da579..6c8d737130 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -7689,7 +7689,7 @@ dump_mos_leaks(spa_t *spa) mos_obj_refd(spa->spa_errlog_last); mos_obj_refd(spa->spa_errlog_scrub); - if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { + if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { errorlog_count_refd(mos, spa->spa_errlog_last); errorlog_count_refd(mos, spa->spa_errlog_scrub); }