s3:smbd: don't use async dosmode if per-thread cwd is not available
authorRalph Boehme <slow@samba.org>
Mon, 7 Jan 2019 20:10:19 +0000 (21:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 11 Jan 2019 22:11:18 +0000 (23:11 +0100)
commit57e2fb018f2040d1e2d487a4590f103022496b44
tree821bc7772798d569347d7c89ced4c98fbbccfbec
parent5d8f495b01cb4d6797f9165b1e45dcaa31da7e44
s3:smbd: don't use async dosmode if per-thread cwd is not available

The additional overhead for the async processing should be avoided when
we know the lower level has to fallback to sync processing anyway.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_query_directory.c