diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-09 23:00:31 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-15 10:09:57 +0200 |
| commit | bb991b7f79dd34cc5f24db0f736bf75630c970e7 (patch) | |
| tree | 8ea7ed1f749ea4fc6c309e84311ce05c0a501074 /scripts/Makefile.thinlto | |
| parent | afbccf99f7f82117cba9ad4b0b006692030f49e8 (diff) | |
| download | linux-next-bb991b7f79dd34cc5f24db0f736bf75630c970e7.tar.gz linux-next-bb991b7f79dd34cc5f24db0f736bf75630c970e7.zip | |
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
