]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: generalize the btree root reallocation function
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:13 +0000 (14:22 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 11 Aug 2024 06:35:54 +0000 (08:35 +0200)
commite1efb46d62bd447b7b05f66ada6f2fe86c34a1b1
tree55d2c4e6ce5206a29652b96a765a173b44d8792c
parent1705798490882f43111a035dd854145850f509c3
xfs: generalize the btree root reallocation function

In preparation for storing realtime rmap btree roots in an inode fork,
make xfs_iroot_realloc take an ops structure that takes care of all the
btree-specific geometry pieces.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_btree.h
libxfs/xfs_inode_fork.c
libxfs/xfs_inode_fork.h