]> 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:42:00 +0000 (14:42 +0200)
commit769d1bccd1cac0868f53714077d40796384f721e
tree519a3fa7333b1febd25ae749ef09167830994838
parent2e37d331c00c0711664e49a213a8c36fd0a4b25c
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