summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-04-29 14:27:32 -0700
committerJeremy Allison <jra@samba.org>2011-04-29 23:31:06 +0200
commit76739435fc8abf1f47193ec4db35a567b564c785 (patch)
tree77e3785a6f0adf2336f14d39f53cf02b49a593dc /source3/smbd/filename.c
parentbbacaec4e9365b128eb11467c95412de7473c1ec (diff)
downloadsamba-76739435fc8abf1f47193ec4db35a567b564c785.tar.gz
samba-76739435fc8abf1f47193ec4db35a567b564c785.tar.bz2
samba-76739435fc8abf1f47193ec4db35a567b564c785.zip
Fix bug 8111 - CIFS VFS: unexpected error on SMB posix open
We are conflating the O_CREAT|O_EXCL with the O_TRUNC processing, they need to be separate. We need to chose using (O_CREAT|O_EXCL) first, then modify if O_TRUNC is set. This needs two separate switch statements. Jeremy
Diffstat (limited to 'source3/smbd/filename.c')
0 files changed, 0 insertions, 0 deletions