Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15069
b: refs/heads/master
c: 1ff8038
h: refs/heads/master
i:
  15067: 7a36611
v: v3
  • Loading branch information
Linus Torvalds committed Dec 13, 2005
1 parent 3809195 commit beb8dd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 14ee0a1414536d27bc29373bf23c106b8ef8ce0b
refs/heads/master: 1ff8038988adecfde71d82c0597727fc239d4e8c
2 changes: 1 addition & 1 deletion trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
continue;
}

if (!vma || (vma->vm_flags & VM_IO)
if (!vma || (vma->vm_flags & (VM_IO | VM_PFNMAP))
|| !(vm_flags & vma->vm_flags))
return i ? : -EFAULT;

Expand Down

0 comments on commit beb8dd0

Please sign in to comment.