s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
authorTim Prouty <tprouty@samba.org>
Mon, 22 Jun 2009 22:26:56 +0000 (15:26 -0700)
committerTim Prouty <tprouty@samba.org>
Thu, 25 Jun 2009 04:15:25 +0000 (21:15 -0700)
commite129384d7c1df664e447186673dd107e190e2894
tree166c08e9d2ee0bbb8a88fb2ad76ed226a62f83dc
parent36c10191750c845a2a7cd6cc62149b1095c0b651
s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT

This patch introduces two new temporary helper functions
vfs_stat_smb_fname and vfs_lstat_smb_fname.  They basically allowed me
to call the new smb_filename version of stat, while avoiding plumbing
it through callers that are still too inconvenient.  As the conversion
moves along, I will be able to remove callers of this, with the goal
being to remove all callers.

There was also a bug in create_synthetic_smb_fname_split (also a
temporary utility function) that caused it to incorrectly handle
filenames with ':'s in them when in posix mode.  This is now fixed.
38 files changed:
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
source3/include/proto.h
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/nfs4_acls.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c
source3/modules/vfs_afsacl.c
source3/modules/vfs_cap.c
source3/modules/vfs_catia.c
source3/modules/vfs_default.c
source3/modules/vfs_fake_perms.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_hpuxacl.c
source3/modules/vfs_recycle.c
source3/modules/vfs_shadow_copy2.c
source3/modules/vfs_solarisacl.c
source3/modules/vfs_streams_depot.c
source3/modules/vfs_streams_xattr.c
source3/modules/vfs_xattr_tdb.c
source3/smbd/close.c
source3/smbd/dir.c
source3/smbd/dosmode.c
source3/smbd/file_access.c
source3/smbd/fileio.c
source3/smbd/filename.c
source3/smbd/msdfs.c
source3/smbd/notify.c
source3/smbd/open.c
source3/smbd/posix_acls.c
source3/smbd/reply.c
source3/smbd/service.c
source3/smbd/statcache.c
source3/smbd/trans2.c
source3/smbd/vfs.c
source3/torture/cmd_vfs.c