mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: In mkdir_internal, don't retrieve parent_dir from check_parent_access
We have already created that ourselves a few lines above
This commit is contained in:
parent
d0e7770017
commit
d12fa60ef8
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user