xfs: add repair helpers for the reference count btree
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 May 2018 17:02:03 +0000 (10:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 00:57:05 +0000 (17:57 -0700)
commit08daa3ccf541b8cc59d198daaccefae17fe565ae
tree517fdcdfd2088d97e6a4ae73c031d8fc639731c4
parent4d4f86b49fd0d88677ce45c9cc544cdf663bf047
xfs: add repair helpers for the reference count btree

Add a couple of functions to the refcount btree and generic btree code
that will be used to repair the refcountbt.

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