]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: fold xfs_refcountbt_init_common into xfs_refcountbt_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)
commit77b3d809b4364a50605ead25e11fe31bdd518f13
treee06d546f81914ab0635334e5b04df8f516327e37
parentac8478e292cb04fade366bd8d6d4a645110db243
xfs: fold xfs_refcountbt_init_common into xfs_refcountbt_init_cursor

Source kernel commit: 4f2dc69e4bcb4b3bfaea0a96ac6424b0ed998172

Make the levels initialization in xfs_refcountbt_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_refcount_btree.c