Skip to content
Snippets Groups Projects
Commit 0b48e278 authored by Vasily Averin's avatar Vasily Averin Committed by Yang Yingliang
Browse files

fuse: don't ignore errors from fuse_writepages_fill()


mainline inclusion
from mainline-v5.8-rc6
commit 7779b047
category: bugfix
bugzilla: 39163
CVE: NA

-------------------------------------------------

fuse_writepages() ignores some errors taken from fuse_writepages_fill() I
believe it is a bug: if .writepages is called with WB_SYNC_ALL it should
either guarantee that all data was successfully saved or return error.

Fixes: 26d614df ("fuse: Implement writepages callback")
Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 3e37dc12
No related branches found
No related tags found
No related merge requests found
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