s3:smbd: call pthreadpool_tevent_init() already in smbd_process()
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Mar 2018 13:59:31 +0000 (14:59 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 23 Apr 2018 08:30:18 +0000 (10:30 +0200)
commit74590c6795f8dac5d62d78273730910819395b89
tree3879ba441f422c8673e3806c88e96c09f4cc72cb
parent57d9969f5cd681cd02017c0b41fcbb12fe10fb08
s3:smbd: call pthreadpool_tevent_init() already in smbd_process()

pthreadpool_tevent_init() doesn't start any thread yet, it only
allocates a bit of memory.

It's easier to start this in a central place, so that it's
available to all VFS modules.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_default.c
source3/smbd/process.c