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>

4 files changed