diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-08 23:05:06 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-11 08:43:55 +0200 |
| commit | 3bdbf472a608aeb7e8e4dc70ee86738ad5256356 (patch) | |
| tree | eec6015576188a40ed438c3e8a43d546a0313097 /scripts/basic | |
| parent | 1ee2ce797c360785a3813fef62c90f427f3aed34 (diff) | |
| download | linux-3bdbf472a608aeb7e8e4dc70ee86738ad5256356.tar.gz linux-3bdbf472a608aeb7e8e4dc70ee86738ad5256356.zip | |
xfs: fix rtrmap cross-referencing elision logic
LOLLM points out that xchk_bmap_xref_rmap_cow skips the cross-reference
if the data-section rmapbt cursor is not present. However, this is
broken for realtime file data fork scanning, because they will have an
rtrmapbt cursor and not an rmapbt cursor. Fix the behavior by removing
the cursor checks because xchk_bmap_get_rmap already accounts for that.
Cc: stable@vger.kernel.org # v6.14
Fixes: 037a44d8277adf ("xfs: cross-reference the realtime rmapbt")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
