Re: [patch?] truncate and timestamps

Andrew Morton (akpm@digeo.com)
Thu, 22 May 2003 19:42:11 -0700


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/