diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-04 14:03:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-05-04 18:44:29 +0200 |
commit | d12fa60ef8cab33eae2098c940dd27228697f9d2 (patch) | |
tree | 6d785065641e2ec92cbe947863dea93f646a3d9f /source3 | |
parent | d0e7770017a1322ad78b13f0840c54514ee1d9bd (diff) | |
download | samba-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')
-rw-r--r-- | source3/smbd/open.c | 2 |
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", |