]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: generalize the btree root reallocation function
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:11:30 +0000 (21:11 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 07:35:28 +0000 (09:35 +0200)
commitd66f5cc774142ffbd9c000a5938175e408bc943f
tree3d75e3bbce2e3ec7222b8b19a1f58cf6a5171228
parent14ad4e041c4d827161ebc9ad9696e0950036ab92
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>
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h