Fix BASE-DELAYWRITE test by removing const from struct smb_filename
commit6a0c2946be947afbb56acbf6444d4a2b48cc06f4
authorJeremy Allison <jra@samba.org>
Wed, 12 Aug 2009 22:08:23 +0000 (12 15:08 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 12 Aug 2009 22:08:23 +0000 (12 15:08 -0700)
tree6bf21e5c88793a1a33352be603532560e0ea7abe
parent7ad5c69bd45d9211dc3bceb655d63d2f141f1bc6
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
source3/smbd/globals.h
source3/smbd/trans2.c