Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221544
b: refs/heads/master
c: d88c092
h: refs/heads/master
v: v3
  • Loading branch information
Michel Lespinasse authored and Linus Torvalds committed Nov 2, 2010
1 parent dfb546d commit f6f6a8f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: eb8abb927ae2fd1730e24ea94cd9527f3c086292
refs/heads/master: d88c0922fa0e2c021a028b310a641126c6d4b7dc
4 changes: 3 additions & 1 deletion trunk/mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1563,8 +1563,10 @@ int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
goto no_cached_page;
}

if (!lock_page_or_retry(page, vma->vm_mm, vmf->flags))
if (!lock_page_or_retry(page, vma->vm_mm, vmf->flags)) {
page_cache_release(page);
return ret | VM_FAULT_RETRY;
}

/* Did it get truncated? */
if (unlikely(page->mapping != mapping)) {
Expand Down

0 comments on commit f6f6a8f

Please sign in to comment.