]> 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>
Thu, 29 May 2025 09:12:49 +0000 (11:12 +0200)
commit641a646ac56c8349ddeab2d78f0f8dedd74445a2
treef5c85cf96e99f36a478a24d86fb46444ff7850da
parentf6d9c9ac77fcd755a66dd121df9f11521d587e45
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