xfs: check cowextsize in xrep_inode_cowextsize
authorDarrick J. Wong <djwong@kernel.org>
Tue, 21 Jul 2026 03:23:46 +0000 (20:23 -0700)
committerCarlos Maiolino <cem@kernel.org>
Wed, 22 Jul 2026 13:06:24 +0000 (15:06 +0200)
commit270ffcd9b0a46254fbf3079d0e3341db7d7ec0e6
tree90c5a13b4180dc2d90e504998eeca75ac7dc68b5
parent7aa67044e7d8b6eebc44b25745f16c83ccc40a94
xfs: check cowextsize in xrep_inode_cowextsize

LOLLM points out that the function that corrects cowextsize should check
i_cowextsize, not i_extsize.

Cc: stable@vger.kernel.org # v6.14
Fixes: a9600db96f74af ("xfs: detect and repair misaligned rtinherit directory cowextsize hints")
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/inode_repair.c