]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor btree block header checking functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
commitb47beff8645297498ba3503a9bcb2c6a21f8b975
treeb5e3babc948fbe0efd09558bbef5b1f268546074
parentd5c546df2b749d477c3841ac3326befe55115fea
xfs: refactor btree block header checking functions

Source kernel commit: 52c732eee78b47ac2eb828b1c7fa611cd37b0090

Refactor the btree block header checks to have an internal function that
returns the address of the failing check without logging errors.  The
scrubber will call the internal function, while the external version
will maintain the current logging behavior.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/xfs_btree.c
libxfs/xfs_btree.h
libxfs/xfs_types.h