]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Jan 2026 11:57:22 +0000 (12:57 +0100)
commit92f6a7b6cfda18b3da0862e402d849efd79c80a3
treee704ccd9b5f120d7c51634374e4482810283fc95
parent0f3b87c66d892c4b23233585612affb74bd18441
xfs: fix the zoned RT growfs check for zone alignment

commit dc68c0f601691010dd5ae53442f8523f41a53131 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_rtalloc.c