]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
fixup
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Aug 2024 18:07:53 +0000 (11:07 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2024 12:53:49 +0000 (05:53 -0700)
repair/rt.c

index acab6b5b5430ece66b25207cbce6134c1435ccd8..29ac5a049bf3dbdfa23ed5202da1abaac95c0400 100644 (file)
@@ -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++;
 }
 
 /*