Skip to content
Commit 2c4656df authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: fix copy_file_range cache issues



a) Dirty cache needs to be written back not just in the writeback_cache
case, since the dirty pages may come from memory maps.

b) The fuse_writeback_range() helper takes an inclusive interval, so the
end position needs to be pos+len-1 instead of pos+len.

Fixes: 88bc7d50 ("fuse: add support for copy_file_range()")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 6b2fb799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment