vfs catia: Fix the double translation that was happening with createfile and open.
authorAravind Srinivasan <aravind.srinivasan@isilon.com>
Thu, 3 Sep 2009 20:46:10 +0000 (20:46 +0000)
committerTim Prouty <tprouty@samba.org>
Thu, 24 Sep 2009 17:59:33 +0000 (10:59 -0700)
commit637901c24288740d51f28e2378c02d956dd7b17d
tree2d5dca7fa68bb1f0959c136cbddf1cdeafc3a229
parentc870043b27dff10010e45358d924cbdd688f6555
vfs catia: Fix the double translation that was happening with createfile and open.

Since the catia translation is implemented for open, it should not
also be done in createfile.  By removing createfile from catia,
translation is now done correctly for the primary open path.

In order to support systems that have custom createfile
implementations that don't eventually call SMB_VFS_OPEN,
SMB_VFS_TRANSLATE_NAME has been expanded to take an additional
argument that specifies direction.

Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/onefs_system.c
source3/modules/vfs_catia.c
source3/modules/vfs_full_audit.c
source3/smbd/vfs.c