diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2019-01-24 04:40:17 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-02-13 07:15:14 -0500 |
commit | d4136d60751a5f45f47f1c3a77f6e8bafa11be1f (patch) | |
tree | f11f219b9453d4efeaadd5867073fa69d1a4f4ed /fs/fuse/file.c | |
parent | 3c3db095b68c5df901d837a01a69dcd2693f85f6 (diff) |
fuse add copy_file_range to direct io fops
Nothing preventing copy_file_range to work on files opened with
FOPEN_DIRECT_IO.
Fixes: 88bc7d5097a1 ("fuse: add support for copy_file_range()")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 3e9e57c765f7..c86266d4eac3 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -3181,6 +3181,7 @@ static const struct file_operations fuse_direct_io_file_operations = { | |||
3181 | .compat_ioctl = fuse_file_compat_ioctl, | 3181 | .compat_ioctl = fuse_file_compat_ioctl, |
3182 | .poll = fuse_file_poll, | 3182 | .poll = fuse_file_poll, |
3183 | .fallocate = fuse_file_fallocate, | 3183 | .fallocate = fuse_file_fallocate, |
3184 | .copy_file_range = fuse_copy_file_range, | ||
3184 | }; | 3185 | }; |
3185 | 3186 | ||
3186 | static const struct address_space_operations fuse_file_aops = { | 3187 | static const struct address_space_operations fuse_file_aops = { |