From 89a91159d48f47d3aeb098f7c490a2f6fe1428e7 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 5 Aug 2024 11:07:10 -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 985d2e1d8..acab6b5b5 100644 --- a/repair/rt.c +++ b/repair/rt.c @@ -24,7 +24,10 @@ set_rtword( union xfs_rtword_raw *word, xfs_rtword_t value) { - word->old = value; + if (xfs_has_rtgroups(mp)) + word->rtg = cpu_to_be32(value); + else + word->old = value; } static inline void -- 2.50.1