]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: fix a missing unlock in xfs_growfs_data
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Mar 2025 05:44:52 +0000 (06:44 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 18 Mar 2025 12:06:00 +0000 (13:06 +0100)
commitbeba9487138151c17dec17105364b35935f21562
treea16d468392cdb31132a67e8db3dd5f658bcb38cb
parentfcb255537bee25560af03c583b44866e73a8eb40
xfs: fix a missing unlock in xfs_growfs_data

The newly added check for the internal RT device needs to unlock
m_growlock just like all ther other error cases.

Fixes: bdc03eb5f98f ("xfs: allow internal RT devices for zoned mode")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_fsops.c