Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343329
b: refs/heads/master
c: 2897b4d
h: refs/heads/master
i:
  343327: a0149e8
v: v3
  • Loading branch information
Joonsoo Kim authored and Linus Torvalds committed Dec 13, 2012
1 parent 8453743 commit 650ee3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44e33e8f95171b93968c3ac3cf8516998b1db65d
refs/heads/master: 2897b4d29d9fca82a57b09b8a216a5d604966e4b
4 changes: 4 additions & 0 deletions trunk/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,11 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
*
* Answer: Yes, several device drivers can do it in their
* f_op->mmap method. -DaveM
* Bug: If addr is changed, prev, rb_link, rb_parent should
* be updated for vma_link()
*/
WARN_ON_ONCE(addr != vma->vm_start);

addr = vma->vm_start;
pgoff = vma->vm_pgoff;
vm_flags = vma->vm_flags;
Expand Down

0 comments on commit 650ee3c

Please sign in to comment.