From: Ralph Boehme Date: Fri, 30 Aug 2019 12:48:57 +0000 (+0200) Subject: vfs_catia: stat info may have been updated, make sure to return changes X-Git-Tag: talloc-2.3.1~935 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e49999c97f53acc7006f1dc6b6812bb0e156db5;p=thirdparty%2Fsamba.git vfs_catia: stat info may have been updated, make sure to return changes BUG: https://bugzilla.samba.org/show_bug.cgi?id=14121 Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 96c84e14d40..caeb25a97dd 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -2384,6 +2384,10 @@ static NTSTATUS catia_get_dos_attributes(struct vfs_handle_struct *handle, status = SMB_VFS_NEXT_GET_DOS_ATTRIBUTES(handle, mapped_smb_fname, dosmode); + if (NT_STATUS_IS_OK(status)) { + smb_fname->st = mapped_smb_fname->st; + } + TALLOC_FREE(mapped_name); TALLOC_FREE(mapped_smb_fname);