]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Check for empty queue in run_queue
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 6 Feb 2025 13:58:39 +0000 (14:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:07 +0000 (14:40 +0200)
commit9e5228610ff4f805dacf82dd81c903c48537f783
treeb55bff2c329acb10b63ae4a717d42ca99a410524
parent0b60d03644711ed4e5cf8c008557d7d5dc19b422
gfs2: Check for empty queue in run_queue

[ Upstream commit d838605fea6eabae3746a276fd448f6719eb3926 ]

In run_queue(), check if the queue of pending requests is empty instead
of blindly assuming that it won't be.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/gfs2/glock.c