diff options
author | Jeremy Allison <jra@samba.org> | 2011-02-09 15:05:58 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-02-09 15:13:40 -0800 |
commit | 1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa (patch) | |
tree | 8abea25027bd719eb7eb8e1fdb89371e7f72d49a /source3/smbd/filename.c | |
parent | 61c1f312d2665197d34245537a8f5b641bda1243 (diff) | |
download | samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.gz samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.bz2 samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.zip |
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.
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 03877218de..8e6de84424 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -1074,7 +1074,7 @@ static int get_real_filename_full_scan(connection_struct *conn, } /* open the directory */ - if (!(cur_dir = OpenDir(talloc_tos(), conn, path, NULL, 0))) { + if (!(cur_dir = OpenDir(talloc_tos(), conn, NULL, path, NULL, 0))) { DEBUG(3,("scan dir didn't open dir [%s]\n",path)); TALLOC_FREE(unmangled_name); return -1; |