From: Andreas Gruenbacher Date: Mon, 10 Nov 2025 21:05:45 +0000 (+0000) Subject: gfs2: Remove unnecessary check in gfs2_evict_inode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac82bc7b7922add7f92d85732b4531af55c1e90;p=thirdparty%2Fkernel%2Fstable.git 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: Andreas Gruenbacher --- diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index d96160636161..fd8eb9e15719 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -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))