gfs2: Get rid of the gfs2_glock_is_held_* helpers
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Sep 2023 18:07:06 +0000 (20:07 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 22 Sep 2023 11:42:19 +0000 (13:42 +0200)
commit21d9067efc7fe94d2bc6f7c7ce71834d5766bbd8
tree5b966591477981790bd6c3354913f2f3d11283c6
parentb4bf3d5c37d404b05356869cdbd16450f3ba02a0
gfs2: Get rid of the gfs2_glock_is_held_* helpers

Those helpers don't add any clarity and are easy to use wrong.  Spell
them out to make more obvious what's happening.

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