]> git.ipfire.org Git - thirdparty/samba.git/commit
libsmb: Pass "struct timespec" to SMBC_setatr()
authorVolker Lendecke <vl@samba.org>
Thu, 26 Mar 2020 11:29:13 +0000 (12:29 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 8 Apr 2020 14:46:40 +0000 (14:46 +0000)
commite4aa9a970a483ea16aa5b5bc9f7bbf542a4eeecd
tree141fbae7a2e15491eb6f89e715cdd324f0ee562f
parentb89ab75cd6a77d2c069051f7bb174882cb5d1e68
libsmb: Pass "struct timespec" to SMBC_setatr()

Prepare to set higher-precision timestamps. No change in behaviour so
far: The {.tv_nsec=SAMBA_UTIME_OMIT} implicitly sets .tv_sec=0, and
SMBC_setatr() only looks at .tv_sec

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/include/libsmb_internal.h
source3/libsmb/libsmb_dir.c
source3/libsmb/libsmb_file.c
source3/libsmb/libsmb_xattr.c