diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 3cae46f039f..0b3fb217026 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -1150,7 +1150,7 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp) dirfsp, dname, NULL, - NULL, + &smb_dname_full->st, smb_dname->twrp, smb_dname->flags, &direntry_fname);