s3:smbd: add wrapper around reinit_after_fork
commitb4a0864f64e4e6b5997012bb33e0e5e0fa760b03
authorRalph Boehme <slow@samba.org>
Wed, 22 Apr 2015 09:57:24 +0000 (22 11:57 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 22 Apr 2015 21:00:20 +0000 (22 23:00 +0200)
treec04efe552f5d2488f9fe6a4170755e87e24da440
parent2e2ff8bbea0192f2d1136d5db03c893a217f563b
s3:smbd: add wrapper around reinit_after_fork

smbd_reinit_after_fork is a simple wrapper around reinit_after_fork that
should be used after forking from the main smbd.

At the moment the only additional step it performs is resetting
am_parent to NULL.

A subsequent commit will make use of this function.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/proto.h
source3/smbd/server_exit.c