mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:40:51 +07:00
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: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
parent
23cfb0c3d8
commit
ed3adb375b
@ -191,7 +191,7 @@ static int rgrp_go_sync(struct gfs2_glock *gl)
|
|||||||
GFS2_LFC_RGRP_GO_SYNC);
|
GFS2_LFC_RGRP_GO_SYNC);
|
||||||
filemap_fdatawrite_range(mapping, start, end);
|
filemap_fdatawrite_range(mapping, start, end);
|
||||||
error = filemap_fdatawait_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);
|
mapping_set_error(mapping, error);
|
||||||
if (!error)
|
if (!error)
|
||||||
error = gfs2_ail_empty_gl(gl);
|
error = gfs2_ail_empty_gl(gl);
|
||||||
|
Loading…
Reference in New Issue
Block a user