Commit 734f0b4b authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: hide error messages after withdraw



In gfs2_evict_inode(), don't issue error messages once a withdraw has already
occurred.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f458aafc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))