diff --git a/[refs] b/[refs] index 1ec0e883912d..2a48704e19bb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1e2ae599d37e60958c03ca5e46b1f657619a30cd +refs/heads/master: 779c10232ceb11c1b259232c4845cfb2850287b7 diff --git a/trunk/mm/nommu.c b/trunk/mm/nommu.c index 5e39294f8ea8..d6dd656264a2 100644 --- a/trunk/mm/nommu.c +++ b/trunk/mm/nommu.c @@ -1441,10 +1441,9 @@ int split_vma(struct mm_struct *mm, struct vm_area_struct *vma, kenter(""); - /* we're only permitted to split anonymous regions that have a single - * owner */ - if (vma->vm_file || - vma->vm_region->vm_usage != 1) + /* we're only permitted to split anonymous regions (these should have + * only a single usage on the region) */ + if (vma->vm_file) return -ENOMEM; if (mm->map_count >= sysctl_max_map_count)