Message ID | 167243836882.693494.4734082885669214084.stgit@magnolia (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xfs: online repair of AG btrees | expand |
diff --git a/fs/xfs/scrub/agheader_repair.c b/fs/xfs/scrub/agheader_repair.c index 377a7a4bda5c..daeb88cf5825 100644 --- a/fs/xfs/scrub/agheader_repair.c +++ b/fs/xfs/scrub/agheader_repair.c @@ -620,8 +620,10 @@ xrep_agfl_update_agf( xfs_force_summary_recalc(sc->mp); /* Update the AGF counters. */ - if (sc->sa.pag->pagf_init) + if (sc->sa.pag->pagf_init) { sc->sa.pag->pagf_flcount = flcount; + sc->sa.pag->pagf_agflreset = false; + } agf->agf_flfirst = cpu_to_be32(0); agf->agf_flcount = cpu_to_be32(flcount); agf->agf_fllast = cpu_to_be32(flcount - 1);