]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_mkfs: factor out a validate_rtgroup_geometry helper
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:36:13 +0000 (07:36 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 29 Apr 2025 16:09:58 +0000 (18:09 +0200)
commitb578151091ab6579383f2553b48270a87909dbbb
tree51b704313747c80a30ece87a0f45eab5d8d3a242
parentff6737fe5749b08e2afb3d9cb582068a74fbebc7
xfs_mkfs: factor out a validate_rtgroup_geometry helper

Factor out the rtgroup geometry checks so that they can be easily reused
for the upcoming zoned RT allocator support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
mkfs/xfs_mkfs.c