From be2c9e92ade03e51dcfcd6bcf17d5381875a7cf9 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 15 Aug 2024 11:56:21 -0700 Subject: [PATCH] fixup --- repair/rt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repair/rt.c b/repair/rt.c index ab3c31ce7..776d111ef 100644 --- a/repair/rt.c +++ b/repair/rt.c @@ -38,7 +38,10 @@ inc_sumcount( { union xfs_suminfo_raw *p = info + index; - p->old++; + if (xfs_has_rtgroups(mp)) + be32_add_cpu(&p->rtg, 1); + else + p->old++; } /* -- 2.50.1