]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: grab rtrmap btree when checking rgsuper
authorDarrick J. Wong <djwong@kernel.org>
Tue, 14 Jul 2026 06:05:57 +0000 (23:05 -0700)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jul 2026 09:01:47 +0000 (11:01 +0200)
commitea6e2d9de25d2095845e0cdf2274e581fd40d636
tree9c38e7c3f969134b991660785a688044b63dabac
parent9af789fa274bc14b907f811f79fa988a6fc6d4e7
xfs: grab rtrmap btree when checking rgsuper

LOLLM noticed that we aren't grabbing the rtrmap btree when we check the
realtime group superblock.  As a result, none of the cross-referencing
checks have ever run.  Fix this.

Cc: stable@vger.kernel.org # v6.14
Fixes: 428e4884656db9 ("xfs: allow queued realtime intents to drain before scrubbing")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/scrub/rgsuper.c