vfs: Avoid a talloc in vfswrap_parent_pathname()
commite4d8dc7943b33f749b18f2c55738a6cfad2c8e55
authorVolker Lendecke <vl@samba.org>
Fri, 9 Sep 2022 11:43:54 +0000 (9 13:43 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Sep 2022 17:23:31 +0000 (19 17:23 +0000)
tree5ba85a9221c473c052fd8a30d8261aa014faf20f
parent68d20326db8a2bf6296e6efc5f2ab831db3a1521
vfs: Avoid a talloc in vfswrap_parent_pathname()

We copy smb_fname_in->base_name just to overwrite it again
immediately. Expand synthetic_smb_fname() here.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_default.c