Re: [patch 11/15] vfs: truncate: append-only checking cleanup

From: Christoph Hellwig
Date: Mon May 05 2008 - 07:13:19 EST


On Mon, May 05, 2008 at 11:54:52AM +0200, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@xxxxxxx>
>
> Move the append-only checks from truncate to notify_change(). Checks
> for append-only files are always performed by the VFS and not by the
> filesystem so this belongs in notify_change(), and not in
> inode_change_ok().

Looks good to me.
--
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/