From: Ralph Boehme Date: Sun, 7 Jul 2019 11:50:49 +0000 (+0200) Subject: adouble: ensure stat info is marked invalid on new path X-Git-Tag: talloc-2.3.0~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f820647fa1be39c700b6989418e379114ec7ea3b;p=thirdparty%2Fsamba.git adouble: ensure stat info is marked invalid on new path Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 184fe9130da..2ee5f9fab8a 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -1827,6 +1827,8 @@ int adouble_path(TALLOC_CTX *ctx, /* And we're replacing base_name. */ TALLOC_FREE(smb_fname->base_name); + SET_STAT_INVALID(smb_fname->st); + if (!parent_dirname(smb_fname, smb_fname_in->base_name, &parent, &base)) { TALLOC_FREE(smb_fname);