Skip to content

Commit d4136d6

Browse files
author
Miklos Szeredi
committed
fuse add copy_file_range to direct io fops
Nothing preventing copy_file_range to work on files opened with FOPEN_DIRECT_IO. Fixes: 88bc7d5 ("fuse: add support for copy_file_range()") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 3c3db09 commit d4136d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/fuse/file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,6 +3181,7 @@ static const struct file_operations fuse_direct_io_file_operations = {
31813181
.compat_ioctl = fuse_file_compat_ioctl,
31823182
.poll = fuse_file_poll,
31833183
.fallocate = fuse_file_fallocate,
3184+
.copy_file_range = fuse_copy_file_range,
31843185
};
31853186

31863187
static const struct address_space_operations fuse_file_aops = {

0 commit comments

Comments
 (0)