s3-mdssvc: add a comment to mds_init()
[gd/samba-autobuild/.git] / 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)
 {