]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: fix copy-paste error in calculate_rtgroup_geometry
authorDarrick J. Wong <djwong@kernel.org>
Sat, 11 Oct 2025 18:34:04 +0000 (11:34 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 13 Oct 2025 09:53:29 +0000 (11:53 +0200)
commitbb52ff815e546a8970f22927e12a05717f6780eb
treeafeba5ee96653961074330392336cc6417ea74cb
parent41aac2782dba98cf16a3dc155f48f8e6be7d05f7
mkfs: fix copy-paste error in calculate_rtgroup_geometry

Fix this copy-paste error -- we should calculate the rt volume
concurrency either if the user gave us an explicit option, or if they
didn't but the rt volume is an SSD.

Cc: linux-xfs@vger.kernel.org # v6.13.0
Fixes: 34738ff0ee80de ("mkfs: allow sizing realtime allocation groups for concurrency")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
mkfs/xfs_mkfs.c