s3: Change unix_convert to use an smb_filename struct internally
authorTim Prouty <tprouty@samba.org>
Wed, 22 Jul 2009 16:52:09 +0000 (09:52 -0700)
committerTim Prouty <tprouty@samba.org>
Wed, 22 Jul 2009 18:48:22 +0000 (11:48 -0700)
commit07d3b69b55c37f26ba6fa8b0c1c59e800325b435
treeed540dbd3cdb8e89db4d717f35f1daf2dad6f18d
parent83284e13f91f685b8dcccb9202e33fe64e6930b2
s3: Change unix_convert to use an smb_filename struct internally

This allows SMB_VFS_[L]STAT to be called directly.  Additionally, I
changed NTSTATUS result to be named status for consistency.

I also removed the stat_cache_add() from build_stream_path() because
stat_cache_lookup() is never actually called on a file with a stream.
There is no reason why the stat cache couldn't be consulted for
streams in the future.

Jeremy/Volker, please take a look at this one when you get a chance.
source3/smbd/filename.c
source3/smbd/statcache.c