xfs: move and rename xfs_btree_read_bufl
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:41:01 +0000 (12:41 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:41:01 +0000 (12:41 -0800)
commit6a701eb8fbbb5f500684947883fd77ed0475fa82
tree84d44252b546c1f4d9d76018c0e497a0c3f80fd3
parent6324b00c9ecb8d11a157d2a4bc3e5a495534bdf1
xfs: move and rename xfs_btree_read_bufl

Despite its name, xfs_btree_read_bufl doesn't contain any btree-related
functionaliy and isn't used by the btree code.  Move it to xfs_bmap.c,
hard code the refval and ops arguments and rename it to
xfs_bmap_read_buf.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h