]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: fold xfs_allocbt_init_common into xfs_allocbt_init_cursor
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:02 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:38 +0000 (11:37 -0700)
commit19223602eaec03bd581db5c330c5d81938ef76ed
treeb9427c7019d7eb953262d3fd0da0aed6d7c92f79
parentbe3ac9b04a20cd178c86466e37a56f694bd8e647
xfs: fold xfs_allocbt_init_common into xfs_allocbt_init_cursor

Source kernel commit: fb518f8eeb90197624b21a3429e57b6a65bff7bb

Make the levels initialization in xfs_allocbt_init_cursor conditional
and merge the two helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_alloc_btree.c