diff options
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/mmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c index d79aa12137d..904f39ff534 100644 --- a/fs/ocfs2/mmap.c +++ b/fs/ocfs2/mmap.c | |||
@@ -226,6 +226,7 @@ int ocfs2_mmap(struct file *file, struct vm_area_struct *vma) | |||
226 | ocfs2_meta_unlock(file->f_dentry->d_inode, lock_level); | 226 | ocfs2_meta_unlock(file->f_dentry->d_inode, lock_level); |
227 | out: | 227 | out: |
228 | vma->vm_ops = &ocfs2_file_vm_ops; | 228 | vma->vm_ops = &ocfs2_file_vm_ops; |
229 | vma->vm_flags |= VM_CAN_INVALIDATE; | ||
229 | return 0; | 230 | return 0; |
230 | } | 231 | } |
231 | 232 | ||