From 6a0c2946be947afbb56acbf6444d4a2b48cc06f4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Aug 2009 15:08:23 -0700 Subject: 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. --- source3/smbd/dosmode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd/dosmode.c') 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; } -- cgit