aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ag.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2019-02-07 13:45:46 -0500
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-11 19:07:01 -0500
commit01e68f40bf7846b58d2734aa11b0cbcaadbeaa3e (patch)
treeaa2d827811f0df449099c0feb2063e9f85792788 /fs/xfs/libxfs/xfs_ag.c
parente34d3e74eb8f6eb020312cec747ff55ee1d1ca18 (diff)
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ag.c')
-rw-r--r--fs/xfs/libxfs/xfs_ag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_ag.c b/fs/xfs/libxfs/xfs_ag.c
index 999ad8d00d43..bde67ef3ff43 100644
--- a/fs/xfs/libxfs/xfs_ag.c
+++ b/fs/xfs/libxfs/xfs_ag.c
@@ -361,7 +361,7 @@ xfs_ag_init_headers(
361 { /* FINO root block */ 361 { /* FINO root block */
362 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)), 362 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)),
363 .numblks = BTOBB(mp->m_sb.sb_blocksize), 363 .numblks = BTOBB(mp->m_sb.sb_blocksize),
364 .ops = &xfs_inobt_buf_ops, 364 .ops = &xfs_finobt_buf_ops,
365 .work = &xfs_btroot_init, 365 .work = &xfs_btroot_init,
366 .type = XFS_BTNUM_FINO, 366 .type = XFS_BTNUM_FINO,
367 .need_init = xfs_sb_version_hasfinobt(&mp->m_sb) 367 .need_init = xfs_sb_version_hasfinobt(&mp->m_sb)