summaryrefslogtreecommitdiffstats
path: root/docs-xml/manpages
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-09-11 10:03:01 -0700
committerMichael Adam <obnox@samba.org>2014-09-11 22:29:22 +0200
commit518247bf80372eb003cb67036b9d9e7fe8aac303 (patch)
tree82aab33e85e6befe118b1135e4ac37f83dbe9406 /docs-xml/manpages
parent4e5a6b154e1549e959c5de4b58432e33c0d57b55 (diff)
downloadsamba-518247bf80372eb003cb67036b9d9e7fe8aac303.tar.gz
samba-518247bf80372eb003cb67036b9d9e7fe8aac303.tar.xz
samba-518247bf80372eb003cb67036b9d9e7fe8aac303.zip
s3: smbd - open logic fix.
As we atomically create using O_CREAT|O_EXCL, then if new_file_created is true, then file_existed *MUST* have been false (even if the file was previously detected as being there. We use the variable file_existed again in logic below this statement, so we must set file_existed = false, if new_file_created returns are true from open_file(). Based on a fix from Michael Adam. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10809 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Sep 11 22:29:22 CEST 2014 on sn-devel-104
Diffstat (limited to 'docs-xml/manpages')
0 files changed, 0 insertions, 0 deletions