]> 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)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 16 Jul 2024 22:49:18 +0000 (15:49 -0700)
commit5157c92b43340e601070d85964513b53f7fff834
treee2a6929e7bca62b4566ff49943b6da27bdb155cf
parent7806e6f73f6905a745bdbdecf87bf97461577479
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