]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: refactor creation of bmap btree roots
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:12 +0000 (14:22 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 08:40:03 +0000 (10:40 +0200)
commit3ed47c3b04fa32eeea6d25fe858c428cb1bd56c1
tree33575aaffcb9043916002dba799d0d536421309c
parent7cdc3cd38d6e9c128aea78090b78802427ce352c
xfs: refactor creation of bmap btree roots

Now that we've created inode fork helpers to allocate and free btree
roots, create a new bmap btree helper to create a new bmbt root, and
refactor the extents <-> btree conversion functions to use our new
helpers.

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