From: Carlos Maiolino Date: Tue, 6 Aug 2024 13:45:27 +0000 (+0200) Subject: Merge tag 'inode-repair-improvements-6.10_2024-07-29' of https://git.kernel.org/pub... X-Git-Tag: v6.10.0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abe789fb9f90a5760b48e12fcd053b1ec253b74d;p=thirdparty%2Fxfsprogs-dev.git Merge tag 'inode-repair-improvements-6.10_2024-07-29' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev into for-next xfsprogs: inode-related repair fixes [v30.9 05/28] While doing QA of the online fsck code, I made a few observations: First, nobody was checking that the di_onlink field is actually zero; Second, that allocating a temporary file for repairs can fail (and thus bring down the entire fs) if the inode cluster is corrupt; and Third, that file link counts do not pin at ~0U to prevent integer overflows. This scattered patchset fixes those three problems. This has been running on the djcloud for months with no problems. Enjoy! Signed-off-by: Darrick J. Wong --- abe789fb9f90a5760b48e12fcd053b1ec253b74d