diff options
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index 22b6e4583faa..6690269f5dde 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c | |||
@@ -1224,6 +1224,7 @@ out: | |||
1224 | static struct vm_operations_struct ceph_vmops = { | 1224 | static struct vm_operations_struct ceph_vmops = { |
1225 | .fault = filemap_fault, | 1225 | .fault = filemap_fault, |
1226 | .page_mkwrite = ceph_page_mkwrite, | 1226 | .page_mkwrite = ceph_page_mkwrite, |
1227 | .remap_pages = generic_file_remap_pages, | ||
1227 | }; | 1228 | }; |
1228 | 1229 | ||
1229 | int ceph_mmap(struct file *file, struct vm_area_struct *vma) | 1230 | int ceph_mmap(struct file *file, struct vm_area_struct *vma) |
@@ -1234,6 +1235,5 @@ int ceph_mmap(struct file *file, struct vm_area_struct *vma) | |||
1234 | return -ENOEXEC; | 1235 | return -ENOEXEC; |
1235 | file_accessed(file); | 1236 | file_accessed(file); |
1236 | vma->vm_ops = &ceph_vmops; | 1237 | vma->vm_ops = &ceph_vmops; |
1237 | vma->vm_flags |= VM_CAN_NONLINEAR; | ||
1238 | return 0; | 1238 | return 0; |
1239 | } | 1239 | } |