diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-05-20 11:39:35 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-05-20 11:39:35 +0200 |
commit | 2c4656dfd994538176db30ce09c02cc0dfc361ae (patch) | |
tree | 97b1493375d67921b68a15ed75c7a444ba82b310 /net/sched/cls_basic.c | |
parent | 6b2fb79963fbed7db3ef850926d913518fd5c62f (diff) |
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: 88bc7d5097a1 ("fuse: add support for copy_file_range()")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions