summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-08-12 15:08:23 -0700
committerJeremy Allison <jra@samba.org>2009-08-12 15:08:23 -0700
commit6a0c2946be947afbb56acbf6444d4a2b48cc06f4 (patch)
tree6bf21e5c88793a1a33352be603532560e0ea7abe /source3/smbd/globals.h
parent7ad5c69bd45d9211dc3bceb655d63d2f141f1bc6 (diff)
downloadsamba-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/globals.h')
-rw-r--r--source3/smbd/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 58c92de576..0b8ef5818c 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -184,7 +184,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
TALLOC_CTX *mem_ctx,
uint16_t info_level,
files_struct *fsp,
- const struct smb_filename *smb_fname,
+ struct smb_filename *smb_fname,
bool delete_pending,
struct timespec write_time_ts,
bool ms_dfs_link,