From 41d8c563089ac67863c7e48df6a8c92a5724a1be Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 28 May 2018 11:17:34 +1200 Subject: [PATCH] subtree_rename: Correct comments Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher Reviewed-by: Garming Sam --- source4/dsdb/samdb/ldb_modules/subtree_rename.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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) { -- 2.47.2