[PATCH] clean the event context after fork in fork_domain_child()

Jeremy Allison jra at samba.org
Tue Jan 6 16:15:50 GMT 2009


On Tue, Jan 06, 2009 at 09:28:32AM +0100, Stefan (metze) Metzmacher wrote:
> Jeremy Allison schrieb:
> > On Tue, Jan 06, 2009 at 01:19:41PM +0800, boyang wrote:
> > 
> >> v2-event-context-master.diff frees check_online_event. But I think you
> >> don't need it now. Because all events freeing work will be done in
> >> winbindd_reinit_after_fork() :-). As you said.
> > 
> > Yep, as soon as I've written it :-).
> 
> Hi Jeremy,
> 
> could make winbindd_reinit_after_fork() call reinit_after_fork(),
> it would be nice to keep the common code in one spot.

Yes, that's the plan. All the xxxx_reinit_after_fork()
calls should do their own specific cleanups, then call
reinit_after_fork().

Jeremy.




More information about the samba-technical mailing list