Commit 0ac82bc7 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Remove unnecessary check in gfs2_evict_inode



We are no longer using LM_FLAG_TRY or LM_FLAG_TRY_1CB during inode
evict, so ret cannot be GLR_TRYFAILED here.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 2ff7cf7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1420,7 +1420,7 @@ static void gfs2_evict_inode(struct inode *inode)
	if (gfs2_rs_active(&ip->i_res))
		gfs2_rs_deltree(&ip->i_res);

	if (ret && ret != GLR_TRYFAILED && ret != -EROFS)
	if (ret && ret != -EROFS)
		fs_warn(sdp, "gfs2_evict_inode: %d\n", ret);
out:
	if (gfs2_holder_initialized(&gh))