git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a30e6
)
adouble: ensure stat info is marked invalid on new path
author
Ralph Boehme
<slow@samba.org>
Sun, 7 Jul 2019 11:50:49 +0000
(13:50 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 12 Jul 2019 21:31:29 +0000
(21:31 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/adouble.c
patch
|
blob
|
history
diff --git
a/source3/lib/adouble.c
b/source3/lib/adouble.c
index 184fe9130daf404bc5dad6e2d6e989b09bbad4bc..2ee5f9fab8a6456bf28c2a130b9499e4513272bd 100644
(file)
--- 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);