xfs: rename btree helpers that depends on the block number representation
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:58 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:58 +0000 (12:40 -0800)
commit5ef819c34f954fccfc42f79b9b0bea9b40cef9a1
treeb4c3dd6d63e0e503e9afb8b180c77e2e5b1d5f16
parent4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05
xfs: rename btree helpers that depends on the block number representation

All these helpers hardcode fsblocks or agblocks and not just the pointer
size.  Rename them so that the names are still fitting when we add the
long format in-memory blocks and adjust the checks when calling them to
check the btree types and not just pointer length.

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_alloc_btree.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_refcount_btree.c
fs/xfs/libxfs/xfs_rmap_btree.c