]> www.infradead.org Git - users/hch/xfsprogs.git/commit
Merge tag 'inode-repair-improvements-6.10_2024-07-29' of https://git.kernel.org/pub...
authorCarlos Maiolino <cem@kernel.org>
Tue, 6 Aug 2024 13:45:27 +0000 (15:45 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 6 Aug 2024 13:45:27 +0000 (15:45 +0200)
commitabe789fb9f90a5760b48e12fcd053b1ec253b74d
tree0b28f0421040d2a1fff228c6531cc59ead7afea0
parent9a11b6777b6b9194b269eab55877456fc6f84883
parentebf05a446c09336c08865dc29a6332be6ff8223c
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 <djwong@kernel.org>