summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_rmap_btree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-23 18:36:27 +0200
committerDarrick J. Wong <djwong@kernel.org>2021-10-19 20:45:13 +0200
commitcc411740472d958b718b9c6a7791ba00d88f7cef (patch)
tree4069a13475804ac89161752845babafe6d43e0c0 /fs/xfs/libxfs/xfs_rmap_btree.c
parentxfs: fix incorrect decoding in xchk_btree_cur_fsbno (diff)
downloadlinux-cc411740472d958b718b9c6a7791ba00d88f7cef.tar.xz
linux-cc411740472d958b718b9c6a7791ba00d88f7cef.zip
xfs: remove xfs_btree_cur.bc_blocklog
This field isn't used by anyone, so get rid of it. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/xfs/libxfs/xfs_rmap_btree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_rmap_btree.c b/fs/xfs/libxfs/xfs_rmap_btree.c
index b7dbbfb3aeed..d65bf3c6f25e 100644
--- a/fs/xfs/libxfs/xfs_rmap_btree.c
+++ b/fs/xfs/libxfs/xfs_rmap_btree.c
@@ -457,7 +457,6 @@ xfs_rmapbt_init_common(
/* Overlapping btree; 2 keys per pointer. */
cur->bc_btnum = XFS_BTNUM_RMAP;
cur->bc_flags = XFS_BTREE_CRC_BLOCKS | XFS_BTREE_OVERLAPPING;
- cur->bc_blocklog = mp->m_sb.sb_blocklog;
cur->bc_statoff = XFS_STATS_CALC_INDEX(xs_rmap_2);
cur->bc_ops = &xfs_rmapbt_ops;