mm: kill vma flag VM_CAN_NONLINEAR
[deliverable/linux.git] / mm / mmap.c
index b0989f4d4f098c016d83b32f1641887c966ef701..d0686d3551134516de31462181e44ac4d1d5c91a 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -669,8 +669,7 @@ again:                      remove_next = 1 + (end > next->vm_end);
 static inline int is_mergeable_vma(struct vm_area_struct *vma,
                        struct file *file, unsigned long vm_flags)
 {
-       /* VM_CAN_NONLINEAR may get set later by f_op->mmap() */
-       if ((vma->vm_flags ^ vm_flags) & ~VM_CAN_NONLINEAR)
+       if (vma->vm_flags ^ vm_flags)
                return 0;
        if (vma->vm_file != file)
                return 0;
This page took 0.025551 seconds and 5 git commands to generate.