diff options
Diffstat (limited to 'mm/fremap.c')
-rw-r--r-- | mm/fremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/fremap.c b/mm/fremap.c index b77a002c3352..4e3f53dd5fd4 100644 --- a/mm/fremap.c +++ b/mm/fremap.c | |||
@@ -33,7 +33,7 @@ static int zap_pte(struct mm_struct *mm, struct vm_area_struct *vma, | |||
33 | if (page) { | 33 | if (page) { |
34 | if (pte_dirty(pte)) | 34 | if (pte_dirty(pte)) |
35 | set_page_dirty(page); | 35 | set_page_dirty(page); |
36 | page_remove_rmap(page); | 36 | page_remove_rmap(page, vma); |
37 | page_cache_release(page); | 37 | page_cache_release(page); |
38 | } | 38 | } |
39 | } else { | 39 | } else { |