aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 7f8023340eb8..69d65d49837b 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -374,7 +374,7 @@ static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
374 file_accessed(file); 374 file_accessed(file);
375 if (IS_DAX(file_inode(file))) { 375 if (IS_DAX(file_inode(file))) {
376 vma->vm_ops = &ext4_dax_vm_ops; 376 vma->vm_ops = &ext4_dax_vm_ops;
377 vma->vm_flags |= VM_MIXEDMAP | VM_HUGEPAGE; 377 vma->vm_flags |= VM_HUGEPAGE;
378 } else { 378 } else {
379 vma->vm_ops = &ext4_file_vm_ops; 379 vma->vm_ops = &ext4_file_vm_ops;
380 } 380 }