Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250867
b: refs/heads/master
c: d75a310
h: refs/heads/master
i:
  250865: 9c16435
  250863: 42ff1ce
v: v3
  • Loading branch information
Namhyung Kim authored and Linus Torvalds committed May 25, 2011
1 parent e841109 commit 8c2e73b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e922c4c5360980bfeb862b3ec307d36bb344dcae
refs/heads/master: d75a310c42c616c168953ed45c1091074f97828c
6 changes: 2 additions & 4 deletions trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,6 @@ static int shrink_vma(struct mm_struct *mm,
int do_munmap(struct mm_struct *mm, unsigned long start, size_t len)
{
struct vm_area_struct *vma;
struct rb_node *rb;
unsigned long end = start + len;
int ret;

Expand Down Expand Up @@ -1668,9 +1667,8 @@ int do_munmap(struct mm_struct *mm, unsigned long start, size_t len)
}
if (end == vma->vm_end)
goto erase_whole_vma;
rb = rb_next(&vma->vm_rb);
vma = rb_entry(rb, struct vm_area_struct, vm_rb);
} while (rb);
vma = vma->vm_next;
} while (vma);
kleave(" = -EINVAL [split file]");
return -EINVAL;
} else {
Expand Down

0 comments on commit 8c2e73b

Please sign in to comment.