diff options
author | Jeremy Allison <jra@samba.org> | 2009-08-12 15:08:23 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-08-12 15:08:23 -0700 |
commit | 6a0c2946be947afbb56acbf6444d4a2b48cc06f4 (patch) | |
tree | 6bf21e5c88793a1a33352be603532560e0ea7abe /source3/smbd/dosmode.c | |
parent | 7ad5c69bd45d9211dc3bceb655d63d2f141f1bc6 (diff) | |
download | samba-6a0c2946be947afbb56acbf6444d4a2b48cc06f4.tar.gz samba-6a0c2946be947afbb56acbf6444d4a2b48cc06f4.tar.bz2 samba-6a0c2946be947afbb56acbf6444d4a2b48cc06f4.zip |
Fix BASE-DELAYWRITE test by removing const from struct smb_filename
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the
stat struct inside the smb_fname so don't make a copy of that
stat struct, use it directly - it's meant to be updated and
represent the state of the file we're returning.
Jeremy.
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index e9e92ada20..e9345cc029 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -887,6 +887,8 @@ NTSTATUS set_create_timespec_ea(connection_struct *conn, if (ret == -1) { map_nt_error_from_unix(errno); } + DEBUG(10,("set_create_timespec_ea: wrote create time EA for file %s\n", + smb_fname_str_dbg(smb_fname))); return NT_STATUS_OK; } |