xfs: create a separate finobt verifier
authorBrian Foster <bfoster@redhat.com>
Thu, 7 Feb 2019 18:45:46 +0000 (10:45 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:07:01 +0000 (16:07 -0800)
commit01e68f40bf7846b58d2734aa11b0cbcaadbeaa3e
treeaa2d827811f0df449099c0feb2063e9f85792788
parente34d3e74eb8f6eb020312cec747ff55ee1d1ca18
xfs: create a separate finobt verifier

The inobt verifier is reused for the inobt and finobt, which
prevents the ability to distinguish between magic values on a
per-tree basis. Create a separate finobt structure in preparation
for changes to enforce the appropriate magic value for the
associated tree. This patch has no functional change.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_shared.h
fs/xfs/scrub/agheader_repair.c
fs/xfs/xfs_log_recover.c