vfs_catia: run translation on all handle based VFS functions
authorRalph Boehme <slow@samba.org>
Tue, 6 Dec 2016 14:00:58 +0000 (15:00 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:20 +0000 (00:32 +0100)
commitaf3b4ea4744ab2b67b4221cd6118b6cd2774660f
treeabec9645e51b166f5f36ac6bd2883eb2c91edcca
parent4e2c7d0ec45adf5992446e3e05c90dd40c2fd75b
vfs_catia: run translation on all handle based VFS functions

Also run translation of fsp->fsp_name and optionally
fsp->base_fsp->fsp_name if set for all handle based VFS functions.

This is necessary because some modules might use the path for something
in the handle based VFS ops.

An existing example is vfs_fruit. A later commit will remove the
translation that was done there because catia didn't before this commit.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/modules/vfs_catia.c