Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131126
b: refs/heads/master
c: d5b5623
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Feb 8, 2009
1 parent fd48acf commit 5c87853
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8e4921515c1a379539607eb443d51c30f4f7f338
refs/heads/master: d5b562330ec766292a3ac54ae5e0673610bd5b3d
5 changes: 4 additions & 1 deletion trunk/mm/mlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ long mlock_vma_pages_range(struct vm_area_struct *vma,
is_vm_hugetlb_page(vma) ||
vma == get_gate_vma(current))) {

return __mlock_vma_pages_range(vma, start, end, 1);
__mlock_vma_pages_range(vma, start, end, 1);

/* Hide errors from mmap() and other callers */
return 0;
}

/*
Expand Down

0 comments on commit 5c87853

Please sign in to comment.