Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157193
b: refs/heads/master
c: a190887
h: refs/heads/master
i:
  157191: e30994a
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Sep 5, 2009
1 parent ad0793f commit 0f7ce9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 4e49627b9bc29a14b393c480e8c979e3bc922ef7
refs/heads/master: a190887b58c32d19c2eee007c5eb8faa970a69ba
3 changes: 1 addition & 2 deletions trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ unsigned long do_mmap_pgoff(struct file *file,
}

vma->vm_region = region;
add_nommu_region(region);

/* set up the mapping */
if (file && vma->vm_flags & VM_SHARED)
Expand All @@ -1361,8 +1362,6 @@ unsigned long do_mmap_pgoff(struct file *file,
if (ret < 0)
goto error_put_region;

add_nommu_region(region);

/* okay... we have a mapping; now we have to register it */
result = vma->vm_start;

Expand Down

0 comments on commit 0f7ce9b

Please sign in to comment.