diff options
author | Ralph Boehme <slow@samba.org> | 2019-08-30 14:48:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-09-10 21:13:09 +0000 |
commit | 4930920648ad6879a72c77d79508025478dcbaa2 (patch) | |
tree | 4eb0d9951add934bcf5b48462017332c13f727b4 /source3 | |
parent | d47f8ca1a769571dae73081cda6a01812c1a256c (diff) | |
download | samba-4930920648ad6879a72c77d79508025478dcbaa2.tar.gz |
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 <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 4e49999c97f53acc7006f1dc6b6812bb0e156db5)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_catia.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 762491ede31..1869d21dbcf 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -2377,6 +2377,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); |