Don't overwrite creation time if set by make_create_timespec
jra at samba.org
Mon Mar 10 16:06:53 MDT 2014
On Mon, Mar 10, 2014 at 05:59:41PM +0100, Ralph Böhme wrote:
> smb2_create calls dos_mode() after calling SMB_VFS_CREATE_FILE(), as a
> result the creation time as set by make_create_timespec() is always
> Add a check to dos_mode() that tests for st_ex_calculated_birthtime ==
> true and only then update the creation time with the value from the
> DOS attribute xattr.
> Review appreciated. Thanks!
This one will take a little longer to review. :-).
More information about the samba-technical