summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-05 22:58:12 -0800
committerJeremy Allison <jra@samba.org>2009-11-05 22:58:12 -0800
commitc99dd5c23e25f4c1cc34f223f563915c0aa4bb6f (patch)
tree9f877bf43ff345cb5162c25cfbcc97ed18406fc4 /source3/smbd/nttrans.c
parent977fa4e37741d613df1583b7e0e83c1f0a6ce38c (diff)
downloadsamba-c99dd5c23e25f4c1cc34f223f563915c0aa4bb6f.tar.gz
samba-c99dd5c23e25f4c1cc34f223f563915c0aa4bb6f.tar.bz2
samba-c99dd5c23e25f4c1cc34f223f563915c0aa4bb6f.zip
Got the logic simplification worked out so we still pass
BASE-DELAYWRITE and also RAW-CLOSE. Jeremy.
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index a1e7889119..66102fa96c 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1296,7 +1296,7 @@ static NTSTATUS copy_internals(TALLOC_CTX *ctx,
close_file(NULL, fsp1, NORMAL_CLOSE);
/* Ensure the modtime is set correctly on the destination file. */
- set_close_write_time(NULL, fsp2, smb_fname_src->st.st_ex_mtime);
+ set_close_write_time(fsp2, smb_fname_src->st.st_ex_mtime);
status = close_file(NULL, fsp2, NORMAL_CLOSE);