summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 1f48daf904..98984b8695 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2383,7 +2383,7 @@ static NTSTATUS mkdir_internal(connection_struct *conn,
smb_dname->base_name, mode);
}
- if (!(file_attributes & FILE_FLAG_POSIX_SEMANTICS)) {
+ if (!posix_open) {
/*
* Check if high bits should have been set,
* then (if bits are missing): add them.