]> git.hungrycats.org Git - linux/commitdiff
Never merge vma's that have mapping-private data.
authorLinus Torvalds <torvalds@home.transmeta.com>
Wed, 23 Apr 2003 01:50:36 +0000 (18:50 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 23 Apr 2003 01:50:36 +0000 (18:50 -0700)
mm/mmap.c

index cdf4acebf6f584d691da3ea070cd1cb81983ed0b..cb35e2d7f1e247c293d836826da39df4f619e283 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -369,6 +369,8 @@ static inline int is_mergeable_vma(struct vm_area_struct *vma,
                return 0;
        if (vma->vm_flags != vm_flags)
                return 0;
+       if (vma->vm_private_data)
+               return 0;
        return 1;
 }