Re: [patch?] truncate and timestamps

From: Andrew Morton (akpm@digeo.com)
Date: Thu May 22 2003 - 21:42:11 EST


viro@parcelfarce.linux.theplanet.co.uk wrote:
>
> POSIX can take a hike

aye. But given a choice we should continue to do what 2.4 did.

I assume every foo_truncate() is doing

        inode->i_mtime = inode->i_ctime = CURRENT_TIME;
        mark_inode_dirty(inode);

and as Andries says, we can probably pull all that up to the VFS level.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:53 EST