summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 018b2cc893..b6e84eaec3 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2555,7 +2555,7 @@ static NTSTATUS mkdir_internal(connection_struct *conn,
status = check_parent_access(conn,
smb_dname,
access_mask,
- &parent_dir);
+ NULL);
if(!NT_STATUS_IS_OK(status)) {
DEBUG(5,("mkdir_internal: check_parent_access "
"on directory %s for path %s returned %s\n",