Commit ed3adb37 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher

gfs2: Ignore subsequent errors after withdraw in rgrp_go_sync

Once a withdraw has occurred, ignore errors that are the consequence of the
withdraw.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 23cfb0c3
......@@ -191,7 +191,7 @@ static int rgrp_go_sync(struct gfs2_glock *gl)
GFS2_LFC_RGRP_GO_SYNC);
filemap_fdatawrite_range(mapping, start, end);
error = filemap_fdatawait_range(mapping, start, end);
WARN_ON_ONCE(error);
WARN_ON_ONCE(error && !gfs2_withdrawn(sdp));
mapping_set_error(mapping, error);
if (!error)
error = gfs2_ail_empty_gl(gl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment