Re: [rfc][patch 3/4] fs: new truncate sequence

Christoph Hellwig
2009-07-13T14:10:54Z

On Mon, Jul 13, 2009 at 04:05:15PM +0200, Nick Piggin wrote:
> OK that's kind of what I imagine inode_setattr becomes, but now
> that you make me look at it in that perspective, it is better to
> say inode_setattr returns to a plain helper to copy values into
> the inode once we move the truncate code out of there.
>
> It would be good to add your simple_setattr and factor it out
> from fnotify_change, then. I guess this is what you plan to do
> after my patchset?

Exactly. Maybe we can even fold it into your patchset, but I want
to see a few more if not all conversions before going ahead.