Re: [PATCH v3 1/1] vfs: iversion truncate bug fix

From: Andrew Morton
Date: Wed Jan 04 2012 - 18:28:15 EST


On Thu, 22 Dec 2011 08:26:30 -0500
Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:

> On Thu, 2011-12-22 at 12:54 +0200, Dmitry Kasatkin wrote:
> > When a file is truncated with truncate()/ftruncate() and then closed,
> > iversion is not updated. This patch uses ATTR_SIZE flag as an indication
> > to increment iversion.
> >
> > Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@xxxxxxxxx>
>
> Acked-by: Mimi Zohar <zohar@xxxxxxxxxx>
> (Stable should be cc'ed on this patch.)

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