diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2009-01-22 20:18:56 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-02-09 23:56:16 -0800 |
commit | 25d345eb39c69b2b42a966846ae893b068de40a4 (patch) | |
tree | 532ac614e4ff71a208780ebff2e7c416143312d8 /source3/smbd/filename.c | |
parent | af0e199b31ea4132e369508d72888757887b3327 (diff) | |
download | samba-25d345eb39c69b2b42a966846ae893b068de40a4.tar.gz samba-25d345eb39c69b2b42a966846ae893b068de40a4.tar.bz2 samba-25d345eb39c69b2b42a966846ae893b068de40a4.zip |
Pass stat buffer down through all levels of VFS_READDIR wrappers
* VFS_OP_READDIR can now provide stat information, take advantage of it
if it's available
* is_visible_file(): optimistically expect the provided stat buffer is
already valid
* dptr_ReadDirName(): refactor code for easier readability, functionality
is the same
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 003cb0ffd4..80722a7cd0 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -849,7 +849,7 @@ int get_real_filename(connection_struct *conn, const char *path, /* now scan for matching names */ curpos = 0; - while ((dname = ReadDirName(cur_dir, &curpos))) { + while ((dname = ReadDirName(cur_dir, &curpos, NULL))) { /* Is it dot or dot dot. */ if (ISDOT(dname) || ISDOTDOT(dname)) { |