summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-04 14:03:42 +0200
committerVolker Lendecke <vl@samba.org>2012-05-04 18:44:29 +0200
commitd12fa60ef8cab33eae2098c940dd27228697f9d2 (patch)
tree6d785065641e2ec92cbe947863dea93f646a3d9f /source3/smbd
parentd0e7770017a1322ad78b13f0840c54514ee1d9bd (diff)
downloadsamba-d12fa60ef8cab33eae2098c940dd27228697f9d2.tar.gz
samba-d12fa60ef8cab33eae2098c940dd27228697f9d2.tar.bz2
samba-d12fa60ef8cab33eae2098c940dd27228697f9d2.zip
s3: In mkdir_internal, don't retrieve parent_dir from check_parent_access
We have already created that ourselves a few lines above
Diffstat (limited to 'source3/smbd')
-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",