summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_find.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-09 15:05:58 -0800
committerJeremy Allison <jra@samba.org>2011-02-09 15:13:40 -0800
commit1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa (patch)
tree8abea25027bd719eb7eb8e1fdb89371e7f72d49a /source3/smbd/smb2_find.c
parent61c1f312d2665197d34245537a8f5b641bda1243 (diff)
downloadsamba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.gz
samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.xz
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/smb2_find.c')
-rw-r--r--source3/smbd/smb2_find.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c
index b10446c3f10..9a748860582 100644
--- a/source3/smbd/smb2_find.c
+++ b/source3/smbd/smb2_find.c
@@ -331,6 +331,7 @@ static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx,
wcard_has_wild = ms_has_wild(in_file_name);
status = dptr_create(conn,
+ fsp,
directory,
false, /* old_handle */
false, /* expect_close */