gfs2: a minor finish_xmote cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 23 Jun 2025 20:20:55 +0000 (22:20 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 15 Jul 2025 02:20:40 +0000 (04:20 +0200)
commite7ffc0af0e722b4634f997dcf63594b3c65a5884
tree100d1314b2a6a63877b19cb452f159ff9a87ca29
parent92cef39bb3c1734a9b55693047720198c90f8a4f
gfs2: a minor finish_xmote cleanup

As a minor clean-up to commit 1fc05c8d8426 ("gfs2: cancel timed-out
glock requests"), when a demote request is in progress in
finish_xmote(), there is no point in waking up the glock holder at the
head of the queue because the reply from dlm cannot be on behalf of that
glock holder.

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