X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Ffremap.c;h=46f5dacf90a2cd62427fdf89b67fa01ef8af68e0;hb=f44cf78b6b475116a4d3c98576f8697dd4ca7e79;hp=b6ec85abbb39cc22dac7e9c309953c60a22e921c;hpb=6967963d6d5cac40a091d075326f0e3ccb95c58a;p=karo-tx-linux.git diff --git a/mm/fremap.c b/mm/fremap.c index b6ec85abbb39..46f5dacf90a2 100644 --- a/mm/fremap.c +++ b/mm/fremap.c @@ -40,7 +40,7 @@ static void zap_pte(struct mm_struct *mm, struct vm_area_struct *vma, page_remove_rmap(page); page_cache_release(page); update_hiwater_rss(mm); - dec_mm_counter(mm, file_rss); + dec_mm_counter(mm, MM_FILEPAGES); } } else { if (!pte_file(pte))