summaryrefslogtreecommitdiffstats
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-12-03 10:19:09 -0800
committerJeremy Allison <jra@samba.org>2013-12-09 09:48:48 -0800
commit874318a97868e08837a1febb1be8e8a167b5ae0f (patch)
tree96916c2c801079db778d23461ebd1585a30f33a1 /source3/smbd/filename.c
parent5b49fe24c906cbae12beff7a1b45de6809258cab (diff)
downloadsamba-874318a97868e08837a1febb1be8e8a167b5ae0f.tar.gz
samba-874318a97868e08837a1febb1be8e8a167b5ae0f.tar.xz
samba-874318a97868e08837a1febb1be8e8a167b5ae0f.zip
smbd: change flag name from UCF_CREATING_FILE to UCF_PREP_CREATEFILE
In preparation to using it for all open calls. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10297 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 3096a3e514..eaec5b639e 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -722,7 +722,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
*/
if (errno == EACCES) {
- if ((ucf_flags & UCF_CREATING_FILE) == 0) {
+ if ((ucf_flags & UCF_PREP_CREATEFILE) == 0) {
status = NT_STATUS_ACCESS_DENIED;
goto fail;
} else {