OSDN Git Service

xfs: add scrub cross-referencing helpers for the free space btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 17 Jan 2018 02:52:12 +0000 (18:52 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Jan 2018 05:00:44 +0000 (21:00 -0800)
commitce1d802e6a889b8ee53b3444c6d7e8cfecadac50
treefc480df04e2ca492f26b042a94c91ac34e01bfc1
parentc468562879a766de2c2fbedd41b653a7bf4c157d
xfs: add scrub cross-referencing helpers for the free space btrees

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