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:
parent
a55254be7a
commit
12a240ac0b
|
@ -7689,7 +7689,7 @@ dump_mos_leaks(spa_t *spa)
|
||||||
mos_obj_refd(spa->spa_errlog_last);
|
mos_obj_refd(spa->spa_errlog_last);
|
||||||
mos_obj_refd(spa->spa_errlog_scrub);
|
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_last);
|
||||||
errorlog_count_refd(mos, spa->spa_errlog_scrub);
|
errorlog_count_refd(mos, spa->spa_errlog_scrub);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue