projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, swap: fix race between swapoff and some swap operations
[linux-2.6-microblaze.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index
ced4bed
..
b47e4e5
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-2805,7
+2805,7
@@
vm_fault_t do_swap_page(struct vm_fault *vmf)
struct swap_info_struct *si = swp_swap_info(entry);
if (si->flags & SWP_SYNCHRONOUS_IO &&
- __swap_count(
si,
entry) == 1) {
+ __swap_count(entry) == 1) {
/* skip swapcache */
page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma,
vmf->address);