Re: 2.6.19 file content corruption on ext3

From: Peter Zijlstra
Date: Mon Dec 18 2006 - 14:11:34 EST


On Mon, 2006-12-18 at 21:04 +0200, Andrei Popa wrote:

> diff --git a/mm/rmap.c b/mm/rmap.c
> index d8a842a..3f9061e 100644
> --- a/mm/rmap.c
> +++ b/mm/rmap.c
> @@ -448,7 +448,7 @@ static int page_mkclean_one(struct page
> goto unlock;
>
> entry = ptep_get_and_clear(mm, address, pte);
> - entry = pte_mkclean(entry);
> + /*entry = pte_mkclean(entry);*/
> entry = pte_wrprotect(entry);
> ptep_establish(vma, address, pte, entry);
> lazy_mmu_prot_update(entry);

please drop this chunk, this will always make the problem go away.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/