diff options
| author | 2026-09-09 23:00:31 -0700 | |
|---|---|---|
| committer | 2026-09-15 10:09:57 +0200 | |
| commit | bb991b7f79dd34cc5f24db0f736bf75630c970e7 (patch) | |
| tree | 8ea7ed1f749ea4fc6c309e84311ce05c0a501074 /scripts/Makefile.thinlto | |
| parent | xfs: don't assert when XFS_SCRUB_TYPE_HEALTHY scans return corruption (diff) | |
xfs: fix attr fork block count checks in xrep_inode_blockcounts
LOLLM points out that a file has an attr fork, it will call
xchk_inode_count_blocks to set @ablocks to the number of fsblocks mapped
by the attr fork; but then it'll compare @blocks (aka the count of
fsblocks mapped by the data fork). We already checked that and we never
do anything with @acount, so I think this is clearly a bug. Fix the
comparison.
Cc: stable@vger.kernel.org # v6.8
Fixes: 2d295fe65776d1 ("xfs: repair inode records")
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
