]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: fix incorrect dabtree hashval comparison xfsprogs-fixes-6.2_2023-03-14
authorDarrick J. Wong <djwong@kernel.org>
Tue, 14 Mar 2023 23:32:52 +0000 (16:32 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 15 Mar 2023 00:47:29 +0000 (17:47 -0700)
commitbc4d54b3a5e76edd0a89db5734602a67dd67d136
tree8a0b12fdf4bb4aa2a954be3559566610de8a821b
parent2c8aee60a647a5af7c8b671a03a4efd0cfcce71a
xfs_repair: fix incorrect dabtree hashval comparison

If an xattr structure contains enough names with the same hash value to
fill multiple xattr leaf blocks with names all hashing to the same
value, then the dabtree nodes will contain consecutive entries with the
same hash value.

This causes false corruption reports in xfs_repair because it's not
expecting such a huge same-hashing structure.  Fix that.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
repair/da_util.c