]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/mmap.c
[PATCH] Bug in MM_RB debugging
[net-next-2.6.git] / mm / mmap.c
index eb509ae76553260c61a4b17b3b8bc7deca663b25..84f997da78d70e607578afac5a87b64362b12558 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -299,6 +299,8 @@ static int browse_rb(struct rb_root *root)
                        printk("vm_end %lx < vm_start %lx\n", vma->vm_end, vma->vm_start);
                i++;
                pn = nd;
+               prev = vma->vm_start;
+               pend = vma->vm_end;
        }
        j = 0;
        for (nd = pn; nd; nd = rb_prev(nd)) {