diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-01 22:48:45 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:36 +0200 |
| commit | 8c71ad4d4f3e20c30b663bd292526fcbc4d3913f (patch) | |
| tree | 93e4d364319d3ef35ac8c90e448bec8d9f88fbf7 /scripts/Makefile.thinlto | |
| parent | 1a441c6842da75c5b862cc1c9f7969d6a93b54b9 (diff) | |
| download | linux-stable-8c71ad4d4f3e20c30b663bd292526fcbc4d3913f.tar.gz linux-stable-8c71ad4d4f3e20c30b663bd292526fcbc4d3913f.zip | |
xfs: signal inode btree xref error if get_rec returns an error
LOLLM points out that xchk_finobt_xref_inobt and xchk_inobt_xref_finobt
both ignore errors being returned from the xfs_btree_get_rec function
and proceed with a (possibly stale) "true" value for has_record. If the
*simple* btree record checks fail during cross-referencing, we can
immediately conclude that there's a cross-referncing error in the other
btree. On those grounds, we can bubble up the returned error instead of
wasting time cross-referencing with garbage.
Cc: stable@vger.kernel.org # v6.4
Fixes: bc0f3b55467e1b ("xfs: directly cross-reference the inode btrees with each other")
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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
