Fix old bug in openX code, exposed when "strict allocate" is set to true.
commit6d6dc074280259221de203a5d3c4cf149e69f3b6
authorJeremy Allison <jra@samba.org>
Thu, 16 Dec 2010 00:49:04 +0000 (15 16:49 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 16 Dec 2010 01:02:48 +0000 (15 17:02 -0800)
treebe2b40e91c7a9776825e7711d8a4a267dd7c05da
parent716e36d39e3fb80495034af5988afd9c8d106d3b
Fix old bug in openX code, exposed when "strict allocate" is set to true.

We need to return the file size here, not the allocation size, but
we were not updating the stat struct after the vfs_set_filesize()
call. Ensure we always use fresh data in openX replies.

Jeremy.
(cherry picked from commit 8764576e1068455fd2f5035ac1ea31962e471361)
source3/smbd/reply.c