Revert "gfs2: fix glock shrinker ref issues"
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 28 Mar 2024 18:14:07 +0000 (19:14 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 9 Apr 2024 16:35:58 +0000 (18:35 +0200)
commitc9a0a4b028e4fe16c79e685b2135ce2f097d0d0e
tree4a3823855ed54dee5b6400a5d871792b9adc9449
parent5d9231111966b6c5a65016d58dcbeab91055bc91
Revert "gfs2: fix glock shrinker ref issues"

This reverts commit 62862485a4c3a52029fc30f4bdde9af04afdafc9.

Commit 62862485a4c3 tried to fix issues introduced by commit
228804a35caa ("gfs2: Make glock lru list scanning safer"), but like that
commit, it failed to account for the bias state_change() adds to the
glock reference count for locked glocks.  Revert commit 62862485a4c3 so
that we can fix commit 228804a35caa properly.

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