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
rmap: remove obsolete check from __page_check_anon_rmap()
[safe/jmp/linux-2.6]
/
mm
/
rmap.c
diff --git
a/mm/rmap.c
b/mm/rmap.c
index
be34094
..
23ecd0a
100644
(file)
--- a/
mm/rmap.c
+++ b/
mm/rmap.c
@@
-754,9
+754,6
@@
static void __page_check_anon_rmap(struct page *page,
* are initially only visible via the pagetables, and the pte is locked
* over the call to page_add_new_anon_rmap.
*/
* are initially only visible via the pagetables, and the pte is locked
* over the call to page_add_new_anon_rmap.
*/
- struct anon_vma *anon_vma = vma->anon_vma;
- anon_vma = (void *) anon_vma + PAGE_MAPPING_ANON;
- BUG_ON(page->mapping != (struct address_space *)anon_vma);
BUG_ON(page->index != linear_page_index(vma, address));
#endif
}
BUG_ON(page->index != linear_page_index(vma, address));
#endif
}