xfs: add scrub cross-referencing helpers for the refcount btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 17 Jan 2018 02:52:14 +0000 (18:52 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Jan 2018 05:00:44 +0000 (21:00 -0800)
commit49db55eca5665e32c9d3e67a7d5694bcc6c274de
treee739e377b05d0e3e7cf8e410fcabf4b3066cdabc
parented7c52d4bf92ac1f05b8c251a44a8bf4688f8786
xfs: add scrub cross-referencing helpers for the refcount btrees

Add a couple of functions to the refcount btrees that will be used
to cross-reference metadata against the refcountbt.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_refcount.h