]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: split xfs_allocbt_init_cursor
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:05 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:39 +0000 (11:37 -0700)
commita949c847ebae108ad0825233812cb157f85582ee
tree93ce4b8cb3df50d2cccfae648274e22b435c4d8d
parentc95564630578e4e3365496e3781d7d88bec7c26e
xfs: split xfs_allocbt_init_cursor

Source kernel commit: 1c8b9fd278c08e16c27a41be484b77383738de1f

Split xfs_allocbt_init_cursor into separate routines for the by-bno
and by-cnt btrees to prepare for the removal of the xfs_btnum global
enumeration of btree types.

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/libxfs_api_defs.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_alloc_btree.h
repair/agbtree.c