projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23cfb0c
)
gfs2: Ignore subsequent errors after withdraw in rgrp_go_sync
author
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 20 Oct 2020 12:18:24 +0000
(14:18 +0200)
committer
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 20 Oct 2020 21:16:22 +0000
(23:16 +0200)
Once a withdraw has occurred, ignore errors that are the consequence of the
withdraw.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glops.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/glops.c
b/fs/gfs2/glops.c
index b8cd1da7499d064a37c1df161fd0211bdb5cf8c6..aa3f5236befb4d5b23a59c8f4384812118756cbb 100644
(file)
--- a/
fs/gfs2/glops.c
+++ b/
fs/gfs2/glops.c
@@
-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);