]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/fork.c
mm: replace vma prio_tree with an interval tree
[mirror_ubuntu-zesty-kernel.git] / kernel / fork.c
index 972762e01024bb145ac26557b1f44a741fe35f21..90dace52715e6f0ac2616c257cf34008aa3b20fd 100644 (file)
@@ -423,7 +423,7 @@ static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
                                mapping->i_mmap_writable++;
                        flush_dcache_mmap_lock(mapping);
                        /* insert tmp into the share list, just after mpnt */
-                       vma_prio_tree_add(tmp, mpnt);
+                       vma_interval_tree_add(tmp, mpnt, mapping);
                        flush_dcache_mmap_unlock(mapping);
                        mutex_unlock(&mapping->i_mmap_mutex);
                }