Commit 9183976e authored by Jeff Layton's avatar Jeff Layton Committed by Miklos Szeredi
Browse files

fuse: set mapping error in writepage_locked when it fails

This ensures that we see errors on fsync when writeback fails.
Signed-off-by: default avatarJeff Layton <>
Reviewed-by: default avatarChristoph Hellwig <>
Reviewed-by: default avatarJan Kara <>
Signed-off-by: default avatarMiklos Szeredi <>
parent 61c12b49
......@@ -1669,6 +1669,7 @@ static int fuse_writepage_locked(struct page *page)
mapping_set_error(page->mapping, error);
return error;
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