]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: split xfs_initialize_perag
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Nov 2024 21:14:13 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
commitd74a561fdec41ed0cffbd86db88fbc6087012184
tree7f074ddb598c968d5a038d0d69eda227619b9d74
parentffae013ef77b7a45f809bb4efa01e91da6815864
xfs: split xfs_initialize_perag

Source kernel commit: 201c5fa342af75adaf762fd6c63380bb8001762d

Factor out a xfs_perag_alloc helper that allocates a single perag
structure.

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: Christoph Hellwig <hch@lst.de>
libxfs/xfs_ag.c
libxfs/xfs_ag.h