Commit d4136d60 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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  = {