1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r26307: BASE-DELAYWRITE: only set the write time

metze
This commit is contained in:
Stefan Metzmacher 2007-12-06 15:06:36 +01:00
parent 58bc21a3f8
commit b7d7a58b23

View File

@ -697,10 +697,10 @@ static bool test_finfo_after_write(struct torture_context *tctx, struct smbcli_s
union smb_setfileinfo sfinfo; \
sfinfo.basic_info.level = RAW_SFILEINFO_BASIC_INFO; \
sfinfo.basic_info.in.file.fnum = tfnum; \
sfinfo.basic_info.in.create_time = (finfo).basic_info.out.create_time; \
sfinfo.basic_info.in.access_time = (finfo).basic_info.out.access_time; \
sfinfo.basic_info.in.create_time = 0; \
sfinfo.basic_info.in.access_time = 0; \
unix_to_nt_time(&sfinfo.basic_info.in.write_time, (wrtime)); \
sfinfo.basic_info.in.change_time = finfo1.basic_info.out.change_time; \
sfinfo.basic_info.in.change_time = 0; \
sfinfo.basic_info.in.attrib = finfo1.basic_info.out.attrib; \
_status = smb_raw_setfileinfo(tree, &sfinfo); \
if (!NT_STATUS_IS_OK(_status)) { \