]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: improve error reporting when checking rmap and refcount btrees
authorDarrick J. Wong <djwong@kernel.org>
Wed, 18 May 2022 02:48:13 +0000 (22:48 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 18 May 2022 02:48:13 +0000 (22:48 -0400)
commit97238aead3cbeea43c5e42e8308d06282ae777a7
tree58a345b6618e4c0c52e6de12676b7a3bb11d1240
parentddba9088128f858b7d86d56ea15eff87cb74a871
xfs_repair: improve error reporting when checking rmap and refcount btrees

When we're checking the rmap and refcount btrees, push error reporting
down to the exact locations of failures so that the user sees both a
message specific to the failure that occurred and what repair was doing
at the time.  This also removes quite a bit of return code handling,
since all the errors were fatal anyway.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
[sandeen: update subject and change to djwong's updated commit log]
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/phase4.c
repair/rmap.c
repair/rmap.h