aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 245c3d69067b..971d0eda754a 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -370,7 +370,7 @@ find_vma_prepare(struct mm_struct *mm, unsigned long addr,
370 if (vma_tmp->vm_end > addr) { 370 if (vma_tmp->vm_end > addr) {
371 vma = vma_tmp; 371 vma = vma_tmp;
372 if (vma_tmp->vm_start <= addr) 372 if (vma_tmp->vm_start <= addr)
373 return vma; 373 break;
374 __rb_link = &__rb_parent->rb_left; 374 __rb_link = &__rb_parent->rb_left;
375 } else { 375 } else {
376 rb_prev = __rb_parent; 376 rb_prev = __rb_parent;