vfs_shadow_copy2: in fstat also convert fsp->fsp_name and fsp->base_fsp->fsp_name
authorRalph Boehme <slow@samba.org>
Wed, 21 Nov 2018 16:20:30 +0000 (17:20 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Dec 2018 15:47:40 +0000 (16:47 +0100)
commitd18c5775771d8c3bb9661335c0af2415a2c4b0e8
tree2a07b4eafe82dc2515ca6b5e7db3365d2031a6b5
parentfa2a9c3be08c42c8b2f800e384c0d428a232bacb
vfs_shadow_copy2: in fstat also convert fsp->fsp_name and fsp->base_fsp->fsp_name

Stacked VFS modules might use the file name, not the file
handle. Looking at you, vfs_fruit...

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13455

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit aa1fac696956f96e89e54ddd4535a6e2844161b0)

Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-9-test): Thu Dec 13 16:47:40 CET 2018 on sn-devel-144
selftest/knownfail.d/samba3.blackbox [deleted file]
source3/modules/vfs_shadow_copy2.c