]> www.infradead.org Git - users/dwmw2/linux.git/commit
gfs2: Rename handle_callback to request_demote
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 30 Mar 2024 03:41:48 +0000 (04:41 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 28 May 2024 14:59:53 +0000 (16:59 +0200)
commitedeb180f1c8cfe2e789109766b636430adb5a0a3
treefa7c15bea7037f1a7a07be97b0fd3a2cba264f0a
parent1fb5f67e21805333daca4b0c96416254de96400e
gfs2: Rename handle_callback to request_demote

Function handle_callback() is used to request a glock demote.  This
often happens in response to a conflicting remote locking request and
subsequent bast callback from DLM, but there are other reasons for
triggering a demote request as well, such as when trying to release a
glock in response to memory pressure.  To clarify that, rename the
function to request_demote().

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