diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 0946861b10b7eabe917670c127ec922b69cc5688..06f30e965676e00d9b781eaf9d666686c2a3f214 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1298,6 +1298,8 @@ static int fuse_direct_mmap(struct file *file, struct vm_area_struct *vma) if (vma->vm_flags & VM_MAYSHARE) return -ENODEV; + invalidate_inode_pages2(file->f_mapping); + return generic_file_mmap(file, vma); }