Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287214
b: refs/heads/master
c: 99f02ef
h: refs/heads/master
v: v3
  • Loading branch information
Carsten Otte authored and Linus Torvalds committed Feb 4, 2012
1 parent 1dd40c6 commit a986118
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 82b3f2a7171731cce62f25058d25afb91a14710c
refs/heads/master: 99f02ef1f18631eb0a4e0ea0a3d56878dbcb4b90
7 changes: 6 additions & 1 deletion trunk/mm/filemap_xip.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,12 @@ static int xip_file_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
xip_pfn);
if (err == -ENOMEM)
return VM_FAULT_OOM;
BUG_ON(err);
/*
* err == -EBUSY is fine, we've raced against another thread
* that faulted-in the same page
*/
if (err != -EBUSY)
BUG_ON(err);
return VM_FAULT_NOPAGE;
} else {
int err, ret = VM_FAULT_OOM;
Expand Down

0 comments on commit a986118

Please sign in to comment.