diff options
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e93a4db93fbe..6f8b5b3b38b2 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -734,6 +734,7 @@ void mem_cgroup_uncharge_page(struct page *page) | |||
734 | void mem_cgroup_uncharge_cache_page(struct page *page) | 734 | void mem_cgroup_uncharge_cache_page(struct page *page) |
735 | { | 735 | { |
736 | VM_BUG_ON(page_mapped(page)); | 736 | VM_BUG_ON(page_mapped(page)); |
737 | VM_BUG_ON(page->mapping); | ||
737 | __mem_cgroup_uncharge_common(page, MEM_CGROUP_CHARGE_TYPE_CACHE); | 738 | __mem_cgroup_uncharge_common(page, MEM_CGROUP_CHARGE_TYPE_CACHE); |
738 | } | 739 | } |
739 | 740 | ||