]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: store the btree pointer length in struct xfs_btree_ops
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:00 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:38 +0000 (11:37 -0700)
commit4584d1d9b8a8f3bc323ae76e3b3d435b2ae9acbb
treeba834aee60f87cbf224c9bba61e19c2069ed3cd7
parentc3ba7ebdea698523de9be625b6a117158a172316
xfs: store the btree pointer length in struct xfs_btree_ops

Source kernel commit: 1a9d26291c68fbb8f8d24f9f694b32223a072745

Make the pointer length an explicit field in the btree operations
structure so that the next patch (which introduces an explicit btree
type enum) doesn't have to play a bunch of awkward games with inferring
the pointer length from the enumeration.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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
repair/bulkload.c