]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: fold xfs_rmapbt_init_common into xfs_rmapbt_init_cursor
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:03 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:38 +0000 (11:37 -0700)
commitcb79dbfa677d927d28870e2d21a353345f38578d
tree39ec8c4c25e66f2fe6177c46ab931886aa3352e4
parentedc3afa068b5de3556ba727da7359d32a6894c8f
xfs: fold xfs_rmapbt_init_common into xfs_rmapbt_init_cursor

Source kernel commit: c49a4b2f0ef0ac5daee5c2a3cfd2b537345c34eb

Make the levels initialization in xfs_rmapbt_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_rmap_btree.c