Re: [PATCH] vfs: pass struct file to do_truncate on O_TRUNC opens
From: Al Viro
Date: Mon Mar 15 2010 - 18:50:51 EST
On Mon, Mar 15, 2010 at 06:47:02PM -0400, Jeff Layton wrote:
> Yeah that would be cleaner on the wire for the create case. It's not
> clear to me how to implement that though. There doesn't appear to be
> a straightforward way to tell the VFS to skip the truncate.
The plan is to turn most of the guts of do_last() into fs method...
--
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/