smbd: update smb_fname statinfo from fsp
authorRalph Boehme <slow@samba.org>
Wed, 7 Jul 2021 10:40:05 +0000 (12:40 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 14 Jul 2021 08:09:31 +0000 (08:09 +0000)
commitb32e56d6eb29bfb5f368602edbc10d4b8bc9b4f0
treece3486fa7d4407151ff1b4a05744c25e43697ae8
parent2c9ae4b78cd0d5a3686e79a7497fd3da9f87a307
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>
source3/smbd/files.c