Skip to content

Commit 734f0b4

Browse files
author
Andreas Gruenbacher
committed
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 <agruenba@redhat.com>
1 parent f458aaf commit 734f0b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/gfs2/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ static void gfs2_evict_inode(struct inode *inode)
14831483
if (gfs2_rs_active(&ip->i_res))
14841484
gfs2_rs_deltree(&ip->i_res);
14851485

1486-
if (ret && ret != -EROFS)
1486+
if (ret && !gfs2_withdrawn(sdp) && ret != -EROFS)
14871487
fs_warn(sdp, "gfs2_evict_inode: %d\n", ret);
14881488
out:
14891489
if (gfs2_holder_initialized(&gh))

0 commit comments

Comments
 (0)