From: Ralph Boehme Date: Tue, 12 Mar 2019 14:43:57 +0000 (+0100) Subject: s3-mdssvc: add a comment to mds_init() X-Git-Tag: tdb-1.4.1~305 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=613acd3ddd789290f4a018f6920fc51ed9bac6b2;p=thirdparty%2Fsamba.git s3-mdssvc: add a comment to mds_init() Signed-off-by: Ralph Boehme Reviewed-by: Noel Power Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed Apr 24 19:32:12 UTC 2019 on sn-devel-184 --- diff --git a/source3/rpc_server/mdssvc/mdssvc.c b/source3/rpc_server/mdssvc/mdssvc.c index 7111f0e87ca..58a219bedb0 100644 --- a/source3/rpc_server/mdssvc/mdssvc.c +++ b/source3/rpc_server/mdssvc/mdssvc.c @@ -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) {