Commit d4136d60 authored by Miklos Szeredi's avatar Miklos Szeredi

fuse add copy_file_range to direct io fops

Nothing preventing copy_file_range to work on files opened with
FOPEN_DIRECT_IO.

Fixes: 88bc7d50 ("fuse: add support for copy_file_range()")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 3c3db095
......@@ -3181,6 +3181,7 @@ static const struct file_operations fuse_direct_io_file_operations = {
.compat_ioctl = fuse_file_compat_ioctl,
.poll = fuse_file_poll,
.fallocate = fuse_file_fallocate,
.copy_file_range = fuse_copy_file_range,
};
static const struct address_space_operations fuse_file_aops = {
......
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