Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98680
b: refs/heads/master
c: 7a36a75
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jul 4, 2008
1 parent 68311c9 commit c13b868
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: 7ca796f492a11f9408e661c8f22cd8c4f486b8e5
refs/heads/master: 7a36a752d006f6874049da510297eeb7f09d92a7
2 changes: 1 addition & 1 deletion trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
* be processed until returning to user space.
*/
if (unlikely(test_tsk_thread_flag(tsk, TIF_MEMDIE)))
return -ENOMEM;
return i ? i : -ENOMEM;

if (write)
foll_flags |= FOLL_WRITE;
Expand Down

0 comments on commit c13b868

Please sign in to comment.