diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/task_mmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index e2d9bdce5e7e..a11720767abc 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
@@ -736,6 +736,8 @@ static inline void clear_soft_dirty(struct vm_area_struct *vma, | |||
736 | ptent = pte_clear_flags(ptent, _PAGE_SOFT_DIRTY); | 736 | ptent = pte_clear_flags(ptent, _PAGE_SOFT_DIRTY); |
737 | } else if (is_swap_pte(ptent)) { | 737 | } else if (is_swap_pte(ptent)) { |
738 | ptent = pte_swp_clear_soft_dirty(ptent); | 738 | ptent = pte_swp_clear_soft_dirty(ptent); |
739 | } else if (pte_file(ptent)) { | ||
740 | ptent = pte_file_clear_soft_dirty(ptent); | ||
739 | } | 741 | } |
740 | 742 | ||
741 | set_pte_at(vma->vm_mm, addr, pte, ptent); | 743 | set_pte_at(vma->vm_mm, addr, pte, ptent); |