Fix a typo in ac2038a

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: George Amanakis <gamanakis@gmail.com> 
Closes #14585
Closes #14592
This commit is contained in:
George Amanakis 2023-03-07 22:50:44 +01:00 committed by GitHub
parent a55254be7a
commit 12a240ac0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}