ZERO_STRUCT(write_time_ts);
get_file_infos(fsp->file_id, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
/* Create time. */
ZERO_STRUCT(write_time_ts);
get_file_infos(fsp->file_id, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
/* Create time. */