]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: rename btree helpers that depends on the block number representation
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:08 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:40 +0000 (11:37 -0700)
commitdf73ffba21e18e57c8add1b7230c2decc14dd2da
tree18f95c75185c92f0483ee67eaa56251c039b03b8
parenta8b77935ddc37d28e221d9da955e3b6a88895318
xfs: rename btree helpers that depends on the block number representation

Source kernel commit: 5ef819c34f954fccfc42f79b9b0bea9b40cef9a1

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_alloc_btree.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_btree.h
libxfs/xfs_ialloc_btree.c
libxfs/xfs_refcount_btree.c
libxfs/xfs_rmap_btree.c