diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-12-06 15:06:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:19 +0100 |
commit | 1fbe268ec9a4d7367befd21e88f53781cd82cf1a (patch) | |
tree | c0bd03005c74e153d98c2c0e03eeada71e746b8b /source4 | |
parent | 8036dbcf7fbd19bd5f8ad3fd2d29010442e43f29 (diff) | |
download | samba-1fbe268ec9a4d7367befd21e88f53781cd82cf1a.tar.gz samba-1fbe268ec9a4d7367befd21e88f53781cd82cf1a.tar.bz2 samba-1fbe268ec9a4d7367befd21e88f53781cd82cf1a.zip |
r26307: BASE-DELAYWRITE: only set the write time
metze
(This used to be commit b7d7a58b2399627c37d8b79e6282a44d50f8c68e)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/basic/delaywrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index 94e322c800..8644c656eb 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -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)) { \ |