diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext2/file.c | 1 | ||||
-rw-r--r-- | fs/ext4/file.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 047c327a6b23..28b2609f25c1 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c | |||
@@ -126,7 +126,6 @@ static int ext2_file_mmap(struct file *file, struct vm_area_struct *vma) | |||
126 | 126 | ||
127 | file_accessed(file); | 127 | file_accessed(file); |
128 | vma->vm_ops = &ext2_dax_vm_ops; | 128 | vma->vm_ops = &ext2_dax_vm_ops; |
129 | vma->vm_flags |= VM_MIXEDMAP; | ||
130 | return 0; | 129 | return 0; |
131 | } | 130 | } |
132 | #else | 131 | #else |
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 | } |
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 181e9084519b..5eaef2c17293 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -1169,7 +1169,7 @@ xfs_file_mmap( | |||
1169 | file_accessed(filp); | 1169 | file_accessed(filp); |
1170 | vma->vm_ops = &xfs_file_vm_ops; | 1170 | vma->vm_ops = &xfs_file_vm_ops; |
1171 | if (IS_DAX(file_inode(filp))) | 1171 | if (IS_DAX(file_inode(filp))) |
1172 | vma->vm_flags |= VM_MIXEDMAP | VM_HUGEPAGE; | 1172 | vma->vm_flags |= VM_HUGEPAGE; |
1173 | return 0; | 1173 | return 0; |
1174 | } | 1174 | } |
1175 | 1175 | ||