]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: fix AG header btree level comparisons
authorDarrick J. Wong <djwong@kernel.org>
Thu, 28 Apr 2022 03:11:09 +0000 (23:11 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 28 Apr 2022 03:11:09 +0000 (23:11 -0400)
commit2e9720d51a1e9efa6535b540f3c9ff88e95aabe9
tree25e747b3619e4dbb8dabe0e58bc3da03490d33db
parent14ccd02b633cc9ac86bf668b83d97ab4c0a56c40
xfs_repair: fix AG header btree level comparisons

It's not an error if repair encounters a btree with the maximal
height, so don't print warnings.  Also, we don't allow zero-height
btrees.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/scan.c