mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git] / fs / erofs / data.c
index f57f921683d7fda945ed724f2b1f88a974407b6a..f32d65987578369b757f1c962fd012d33b034538 100644 (file)
@@ -429,7 +429,7 @@ static int erofs_file_mmap(struct file *file, struct vm_area_struct *vma)
                return -EINVAL;
 
        vma->vm_ops = &erofs_dax_vm_ops;
-       vma->vm_flags |= VM_HUGEPAGE;
+       vm_flags_set(vma, VM_HUGEPAGE);
        return 0;
 }
 #else