From: Andrew Bartlett Date: Sun, 27 May 2018 23:17:34 +0000 (+1200) Subject: subtree_rename: Correct comments X-Git-Tag: ldb-1.4.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d8c563089ac67863c7e48df6a8c92a5724a1be;p=thirdparty%2Fsamba.git subtree_rename: Correct comments Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher Reviewed-by: Garming Sam --- diff --git a/source4/dsdb/samdb/ldb_modules/subtree_rename.c b/source4/dsdb/samdb/ldb_modules/subtree_rename.c index 57020e100bf..be02e92cb6d 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_rename.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_rename.c @@ -154,14 +154,13 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) ldb = ldb_module_get_ctx(module); - /* This gets complex: We need to: - - Do a search for all entires under this entry - - Wait for these results to appear - - In the callback for each result, issue a modify request - - That will include this rename, we hope - - Wait for each modify result - - Regain our sanity - */ + /* + * This gets complex: We need to: + * - Do a search for all entries under this entry + * - Wait for these results to appear + * - Do our own rename (in first callback) + * - In the callback for each result, issue a dsdb_module_rename() + */ ac = subren_ctx_init(module, req); if (!ac) {