[PATCH 17/18] gfs2: hide error messages after withdraw
Andreas Gruenbacher <[email protected]> Mon, 13 Apr 2026 16:52:10 +0200
| Newsgroups | dev.linux.lists.gfs2 |
|---|---|
| Message-ID | <[email protected]> |
In gfs2_evict_inode(), don't issue error messages once a withdraw has already occurred. Signed-off-by: Andreas Gruenbacher <[email protected]> --- fs/gfs2/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index b0b0bc5c9d20..938d271ae226 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)) -- 2.53.0