Re: [PATCH 2/6] fs/9p: call vmtruncate before setattr 9p opeation

From: Christoph Hellwig
Date: Tue Mar 01 2011 - 07:10:21 EST


On Tue, Mar 01, 2011 at 02:21:20PM +0530, Aneesh Kumar K.V wrote:
> We need to call vmtruncate before 9p setattr operation, otherwise we
> could write back some dirty pages between setattr with ATTR_SIZE and vmtruncate
> causing some truncated pages to be written back to server

Please read the documentation. vmtruncate is deprecated and no new
users may be added at this point.

--
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/