Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167852
b: refs/heads/master
c: 4779cb3
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen committed Oct 19, 2009
1 parent 24175a7 commit 33d1546
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e43c3afb367112a5b357f9adfac7817255129c88
refs/heads/master: 4779cb31c0ee3b355116745edca3f3e5fe865553
3 changes: 2 additions & 1 deletion trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -2539,7 +2539,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
} else if (PageHWPoison(page)) {
ret = VM_FAULT_HWPOISON;
delayacct_clear_flag(DELAYACCT_PF_SWAPIN);
goto out;
goto out_release;
}

lock_page(page);
Expand Down Expand Up @@ -2611,6 +2611,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
pte_unmap_unlock(page_table, ptl);
out_page:
unlock_page(page);
out_release:
page_cache_release(page);
return ret;
}
Expand Down

0 comments on commit 33d1546

Please sign in to comment.