Re: [PATCH][RFC] truncate vs add_to_page_cache race
From: Nick Piggin
Date: Thu May 13 2004 - 21:21:43 EST
Nick Piggin wrote:
Hi,
I think there is a race between truncate and do_generic_mapping_read.
Comments? Too ugly? Have I've missed something?
Hmm, no I think the right timing can still cause readpage to see
the shortened i_size and fill the page with zeros.
-
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/