git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: define PAGE_MAPPING_FLAGS
[safe/jmp/linux-2.6]
/
mm
/
swapfile.c
diff --git
a/mm/swapfile.c
b/mm/swapfile.c
index
d5eb2e8
..
e74112e
100644
(file)
--- a/
mm/swapfile.c
+++ b/
mm/swapfile.c
@@
-938,7
+938,7
@@
static int unuse_vma(struct vm_area_struct *vma,
unsigned long addr, end, next;
int ret;
- if (page
->mapping
) {
+ if (page
_anon_vma(page)
) {
addr = page_address_in_vma(page, vma);
if (addr == -EFAULT)
return 0;