gfs2: Partially revert gfs2_inode_lookup change
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 5 Dec 2022 21:27:28 +0000 (22:27 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 6 Dec 2022 15:08:12 +0000 (16:08 +0100)
commit88f4a9f813c549f6b8a6fbf12030949b48a4d5a4
treec068a5ba99f65e7ed05b9f768c49636a4e7a7f4e
parent2ec750a01d189cf1872cd79490d0911a7bd519f8
gfs2: Partially revert gfs2_inode_lookup change

Commit c412a97cf6c5 changed delete_work_func() to always perform an
inode lookup when gfs2_try_evict() fails.  This doesn't make sense as a
gfs2_try_evict() failure indicates that the inode is likely still in
use.  Revert that change.

Fixes: c412a97cf6c5 ("gfs2: Use TRY lock in gfs2_inode_lookup for UNLINKED inodes")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c