gfs2: Minor gfs2_try_evict cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 5 Dec 2022 21:27:38 +0000 (22:27 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 10 Dec 2022 12:06:04 +0000 (13:06 +0100)
commitf0c0ade8d874fb127f9b451d415bee8cbb6bf7a6
treed4fb6bc06768b72d9130949df89da2132fa9a810
parent88f4a9f813c549f6b8a6fbf12030949b48a4d5a4
gfs2: Minor gfs2_try_evict cleanup

In gfs2_try_evict(), when an inode can't be evicted, we are grabbing a
temporary reference on the inode glock to poke that glock.  That should
be safe, but it's easier to just grab an inode reference as we already
do earlier in this function.

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