]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add scrub cross-referencing helpers for the free space btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Feb 2018 04:43:18 +0000 (22:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 04:43:18 +0000 (22:43 -0600)
commit1fe41a732560e8e7f029390fa9da5a9e83a3fe40
treeed4f01e98545d025462bd058e5e29bd67643fc7d
parentb09294b35f2e4690e718bd1b4bc99a1d50591776
xfs: add scrub cross-referencing helpers for the free space btrees

Source kernel commit: ce1d802e6a889b8ee53b3444c6d7e8cfecadac50

Add a couple of functions to the free space btrees that will be used
to cross-reference metadata against the bnobt/cntbt, and a generic
btree function that provides the real implementation.

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/xfs_alloc.c
libxfs/xfs_alloc.h
libxfs/xfs_btree.c
libxfs/xfs_btree.h