Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179360
b: refs/heads/master
c: 779c102
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Jan 16, 2010
1 parent 8686443 commit fff3f9c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1e2ae599d37e60958c03ca5e46b1f657619a30cd
refs/heads/master: 779c10232ceb11c1b259232c4845cfb2850287b7
7 changes: 3 additions & 4 deletions trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fff3f9c

Please sign in to comment.