xfs: set btree block buffer ops in _init_buf
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:35:19 +0000 (12:35 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:35:19 +0000 (12:35 -0800)
commitad065ef0d2fcd787225bd8887b6b75c6eb4da9a1
treed74c653f4696a35ec6dfce6617dbd5618741d71a
parent11388f6581f40e7d5a69ce5f8b13264eca7c2c5c
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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_btree.c