From: Andreas Gruenbacher Date: Sun, 5 Apr 2026 12:21:22 +0000 (+0200) Subject: gfs2: hide error messages after withdraw X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=734f0b4b9b84c45156ac91f4bc1fb378101cf956;p=thirdparty%2Fkernel%2Flinux.git gfs2: hide error messages after withdraw In gfs2_evict_inode(), don't issue error messages once a withdraw has already occurred. Signed-off-by: Andreas Gruenbacher --- diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index b0b0bc5c9d202..938d271ae226d 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -1483,7 +1483,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 != -EROFS) + if (ret && !gfs2_withdrawn(sdp) && ret != -EROFS) fs_warn(sdp, "gfs2_evict_inode: %d\n", ret); out: if (gfs2_holder_initialized(&gh))