]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: fix the zoned RT growfs check for zone alignment
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Dec 2025 17:30:09 +0000 (18:30 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 17 Dec 2025 09:27:02 +0000 (10:27 +0100)
commitdc68c0f601691010dd5ae53442f8523f41a53131
treeb0fb6547cf04792aa04c8d07567c55b69973126c
parent982d2616a2906113e433fdc0cfcc122f8d1bb60a
xfs: fix the zoned RT growfs check for zone alignment

The grofs code for zoned RT subvolums already tries to check for zone
alignment, but gets it wrong by using the old instead of the new mount
structure.

Fixes: 01b71e64bb87 ("xfs: support growfs on zoned file systems")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Cc: stable@vger.kernel.org # v6.15
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_rtalloc.c