xfs: refactor long-format btree header verification routines
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:00 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:45 +0000 (10:54 -0800)
commit8368a6019d5bbb8b56c140029dcf5ea570b638f1
tree7d32eac68f733e84d3e12a67ab3d22bda41fc4d3
parent59f6fec3bdb2aafc84d39f34000819d232182d71
xfs: refactor long-format btree header verification routines

Create two helper functions to verify the headers of a long format
btree block.  We'll use this later for the realtime rmapbt.

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