Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20949
b: refs/heads/master
c: 85a6cd0
h: refs/heads/master
i:
  20947: 2299e61
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Mar 10, 2006
1 parent abeba35 commit 2dca9d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 6218cf4410cfce7bc7e89834e73525b124625d4c
refs/heads/master: 85a6cd03a97f04ffff7bfedfa3172894ca9a617b
3 changes: 0 additions & 3 deletions trunk/mm/rmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,6 @@ void page_add_new_anon_rmap(struct page *page,
*/
void page_add_file_rmap(struct page *page)
{
BUG_ON(PageAnon(page));
BUG_ON(!pfn_valid(page_to_pfn(page)));

if (atomic_inc_and_test(&page->_mapcount))
__inc_page_state(nr_mapped);
}
Expand Down

0 comments on commit 2dca9d8

Please sign in to comment.