s3-mdssvc: add a comment to mds_init()
authorRalph Boehme <slow@samba.org>
Tue, 12 Mar 2019 14:43:57 +0000 (15:43 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 24 Apr 2019 19:32:12 +0000 (19:32 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Apr 24 19:32:12 UTC 2019 on sn-devel-184

source3/rpc_server/mdssvc/mdssvc.c

index 7111f0e87ca84b531662f3d866b17bcf74d203d2..58a219bedb07e1b4aef40f48323a35c870fa4ba4 100644 (file)
@@ -1837,6 +1837,9 @@ static struct mdssvc_ctx *mdssvc_init(struct tevent_context *ev)
 
 /**
  * Init callbacks at startup
+ *
+ * This gets typically called in the main parent smbd which means we can't
+ * initialize our global state here.
  **/
 bool mds_init(struct messaging_context *msg_ctx)
 {