gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 9 Apr 2024 05:11:48 +0000 (07:11 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 9 Apr 2024 16:35:57 +0000 (18:35 +0200)
commit927cfc90d27cb7732a62464f95fd9aa7edfa9b70
tree690b48154403d87bf2451fdc48004cf824bd134b
parentee2be7d7c7f32783f60ee5fe59b91548a4571f10
gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru

In gfs2_dispose_glock_lru(), we want to skip glocks which are in the
process of transitioning state (as indicated by the set GLF_LOCK flag),
but we we don't need to set that flag for requesting a state transition.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c