mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
mdssvc: prepare for returning timestamps with sub-seconds granularity
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15427 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
724a0518c9
commit
9dc66fecf7
@ -189,7 +189,7 @@ static bool add_filemeta(struct mds_ctx *mds_ctx,
|
||||
return false;
|
||||
}
|
||||
} else if (strcmp(attribute, "kMDItemFSContentChangeDate") == 0) {
|
||||
sl_time.tv_sec = sp->st_ex_mtime.tv_sec;
|
||||
sl_time = convert_timespec_to_timeval(sp->st_ex_mtime);
|
||||
result = dalloc_add_copy(meta, &sl_time, sl_time_t);
|
||||
if (result != 0) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user