smbd: update smb_fname statinfo from fsp
authorRalph Boehme <slow@samba.org>
Wed, 7 Jul 2021 10:40:05 +0000 (12:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 17 Aug 2021 09:08:36 +0000 (09:08 +0000)
commit93383852f0dec537e2f9b062f113c6f5747a80b9
tree9037b9ae65ce2b0b25b4dbf2ecf83b65b6164ccb
parente12c92d0175ea8a0057e9bc6b01ad65ce9153d84
smbd: update smb_fname statinfo from fsp

fd_openat() has done an FSTAT on the handle so update the smb_fname stat info
with "truth".  from the handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14756

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b32e56d6eb29bfb5f368602edbc10d4b8bc9b4f0)
source3/smbd/files.c