gfs2: Remove ill-placed consistency check
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 10 Apr 2024 02:24:56 +0000 (04:24 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 24 Apr 2024 17:48:20 +0000 (19:48 +0200)
commit59f60005797b4018d7b46620037e0c53d690795e
tree55c7d4189fe0059a6eedf06fe1a5743bb04b990e
parent7a1ad9d8120e3d510ee5de8924f14de089aa2e2d
gfs2: Remove ill-placed consistency check

This consistency check was originally added by commit 9287c6452d2b1
("gfs2: Fix occasional glock use-after-free").  It is ill-placed in
gfs2_glock_free() because if it holds there, it must equally hold in
__gfs2_glock_put() already.  Either way, the check doesn't seem
necessary anymore.

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