|
@@ -1361,7 +1361,7 @@ static int try_to_unmap_cluster(unsigned long cursor, unsigned int *mapcount,
|
|
if (page->index != linear_page_index(vma, address)) {
|
|
if (page->index != linear_page_index(vma, address)) {
|
|
pte_t ptfile = pgoff_to_pte(page->index);
|
|
pte_t ptfile = pgoff_to_pte(page->index);
|
|
if (pte_soft_dirty(pteval))
|
|
if (pte_soft_dirty(pteval))
|
|
- pte_file_mksoft_dirty(ptfile);
|
|
|
|
|
|
+ ptfile = pte_file_mksoft_dirty(ptfile);
|
|
set_pte_at(mm, address, pte, ptfile);
|
|
set_pte_at(mm, address, pte, ptfile);
|
|
}
|
|
}
|
|
|
|
|