mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3: smbd: rmdir_internals(), when calling synthetic_pathref() for a directory entry we've already stat()'ed, re-use the stat struct.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
92d143dbcb
commit
b3ca31905e
@ -1150,7 +1150,7 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp)
|
|||||||
dirfsp,
|
dirfsp,
|
||||||
dname,
|
dname,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
&smb_dname_full->st,
|
||||||
smb_dname->twrp,
|
smb_dname->twrp,
|
||||||
smb_dname->flags,
|
smb_dname->flags,
|
||||||
&direntry_fname);
|
&direntry_fname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user