summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_bmap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-22 23:35:19 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 23:35:19 +0300
commitad065ef0d2fcd787225bd8887b6b75c6eb4da9a1 (patch)
treed74c653f4696a35ec6dfce6617dbd5618741d71a /fs/xfs/libxfs/xfs_bmap.c
parent11388f6581f40e7d5a69ce5f8b13264eca7c2c5c (diff)
downloadlinux-ad065ef0d2fcd787225bd8887b6b75c6eb4da9a1.tar.xz
xfs: set btree block buffer ops in _init_buf
Set the btree block buffer ops in xfs_btree_init_buf since we already have access to that information through the btree ops. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.c')
-rw-r--r--fs/xfs/libxfs/xfs_bmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c
index 995b9ea55cd4..c196fd0a3d7e 100644
--- a/fs/xfs/libxfs/xfs_bmap.c
+++ b/fs/xfs/libxfs/xfs_bmap.c
@@ -688,7 +688,6 @@ xfs_bmap_extents_to_btree(
/*
* Fill in the child block.
*/
- abp->b_ops = &xfs_bmbt_buf_ops;
ablock = XFS_BUF_TO_BLOCK(abp);
xfs_bmbt_init_block(ip, ablock, abp, 0, 0);