diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-05 21:27:25 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-05 21:27:25 -0800 |
commit | 977fa4e37741d613df1583b7e0e83c1f0a6ce38c (patch) | |
tree | a4f62e1c3c3263de3783b3adcc61a6733dc3694c /source3/smbd/nttrans.c | |
parent | e434934526b23b34dd85b43495961260dc639e1f (diff) | |
download | samba-977fa4e37741d613df1583b7e0e83c1f0a6ce38c.tar.gz samba-977fa4e37741d613df1583b7e0e83c1f0a6ce38c.tar.bz2 samba-977fa4e37741d613df1583b7e0e83c1f0a6ce38c.zip |
Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplify
the logic. This was incorrect (I'll revisit this tomorrow).
Jeremy.
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 66102fa96c..a1e7889119 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(fsp2, smb_fname_src->st.st_ex_mtime); + set_close_write_time(NULL, fsp2, smb_fname_src->st.st_ex_mtime); status = close_file(NULL, fsp2, NORMAL_CLOSE); |