]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: Fix xfs_prepare_shift() range for RT
authorJohn Garry <john.g.garry@oracle.com>
Wed, 11 Jun 2025 21:01:19 +0000 (14:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:19 +0000 (11:07 +0100)
commit588d13c90735dfd266f57ee6d2bcb0e64b315633
treea6ad856c64b8618125c467d1e803f4069e69e10b
parente05d4d0641ef3fb2945eb9e269ff40273dfea83c
xfs: Fix xfs_prepare_shift() range for RT

[ Upstream commit f23660f059470ec7043748da7641e84183c23bc8 ]

The RT extent range must be considered in the xfs_flush_unmap_range() call
to stabilize the boundary.

This code change is originally from Dave Chinner.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/xfs/xfs_bmap_util.c