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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux