aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 7e90bebbeb6c..8701d5fce732 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -727,8 +727,8 @@ void page_remove_rmap(struct page *page, struct vm_area_struct *vma)
727 page_clear_dirty(page); 727 page_clear_dirty(page);
728 set_page_dirty(page); 728 set_page_dirty(page);
729 } 729 }
730 730 if (PageAnon(page))
731 mem_cgroup_uncharge_page(page); 731 mem_cgroup_uncharge_page(page);
732 __dec_zone_page_state(page, 732 __dec_zone_page_state(page,
733 PageAnon(page) ? NR_ANON_PAGES : NR_FILE_MAPPED); 733 PageAnon(page) ? NR_ANON_PAGES : NR_FILE_MAPPED);
734 /* 734 /*