[PATCH 07/27] xfs: always log timestamp updates in xfs_setattr_size

Christoph Hellwig hch at infradead.org
Thu Jun 30 02:07:02 CDT 2011


On Wed, Jun 29, 2011 at 05:13:23PM -0500, Alex Elder wrote:
> How/where does iattr->ia_mtime get initialized to the current
> value (I believe it would just match iattr->ia_ctime)?

As Dave mentioned it's set by the caller.  Maybe the code is a bit
cleaner if I check for both ATTR_CTIME and ATTR_MTIME?  The add
MTIME to the mask stuff also is superflous from a quick looks as
we always have both set anyway.




More information about the xfs mailing list