X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Ffremap.c;h=62d5bbda921aa55f49a03507b36cbff10c5f3b69;hb=a0c9f240a992c4c2b6ac40324ece27475cf3b71a;hp=7d12ca70ef7bf22c7e1efcdee186adad87a6c8c8;hpb=debfcaf93ed500a051489db6646d71f29fe86a68;p=~andy%2Flinux diff --git a/mm/fremap.c b/mm/fremap.c index 7d12ca70ef7..62d5bbda921 100644 --- a/mm/fremap.c +++ b/mm/fremap.c @@ -37,7 +37,7 @@ static void zap_pte(struct mm_struct *mm, struct vm_area_struct *vma, if (page) { if (pte_dirty(pte)) set_page_dirty(page); - page_remove_rmap(page, vma); + page_remove_rmap(page); page_cache_release(page); update_hiwater_rss(mm); dec_mm_counter(mm, file_rss);