]> 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)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 10 Mar 2025 17:15:38 +0000 (18:15 +0100)
commitd838605fea6eabae3746a276fd448f6719eb3926
tree512e624d936f1e0e0c5f46b4677a561c24bd16f6
parent0360faca5d4dfc18d06644c7661cea1dc2b44dcf
gfs2: Check for empty queue in run_queue

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>
fs/gfs2/glock.c