]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: take m_growlock when running growfsrt
authorDarrick J. Wong <djwong@kernel.org>
Wed, 11 Jun 2025 21:01:26 +0000 (14:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:20 +0000 (11:07 +0100)
commitfcb0e9a4d32ade1c0c97b7147dd6da0a32ad0240
tree622e1747cdb54bd2c1c9fdb13d2dfb13b6b3649b
parent28c32ce4260745ced2c0e41067e209146cbbf736
xfs: take m_growlock when running growfsrt

[ Upstream commit 16e1fbdce9c8d084863fd63cdaff8fb2a54e2f88 ]

Take the grow lock when we're expanding the realtime volume, like we do
for the other growfs calls.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
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_rtalloc.c