]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: generalize the btree root reallocation function
authorDarrick J. Wong <djwong@kernel.org>
Tue, 7 Mar 2023 03:55:36 +0000 (19:55 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 22 Nov 2023 23:03:36 +0000 (15:03 -0800)
commit90fbd86de2627fa0d4df1c7e11e6daca7bdaf0a4
tree7f1d3d419884ad37d4ce6babc1283184a0e4561b
parent9247a610634c0dfb5e2d6616556261da340ccb15
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