]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: fix per-thread counter error communication problems
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 17 Oct 2019 02:35:25 +0000 (22:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 17 Oct 2019 02:35:25 +0000 (22:35 -0400)
commitda3dd6c0ed018b78f04f2d9447df1b5ab001d80a
tree2bd24b8bc431a75dc4ddae43cdccc8cf6bd4dcec
parentd504cf0b0198998ae0158fd7a111c49fce4f6471
xfs_scrub: fix per-thread counter error communication problems

Fix all the places in the per-thread counter functions either we fail to
check for runtime errors or fail to communicate them properly to
callers.  Then fix all the callers to report the error messages instead
of hiding them.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/counter.c
scrub/counter.h
scrub/phase3.c
scrub/progress.c
scrub/read_verify.c