From 646917ec078de25bcc9d68f7dc966eefed44353f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 23 Feb 2017 11:02:07 +1300 Subject: [PATCH] repl_meta_data: Clarify that replmd_private->la_list is only for DRS for replication Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Feb 23 15:30:35 CET 2017 on sn-devel-144 --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index e3bf0324d7c..5c984adbf5c 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -7095,9 +7095,13 @@ static int replmd_prepare_commit(struct ldb_module *module) struct la_backlink *bl; int ret; - /* walk the list backwards, to do the first entry first, as we + /* + * Walk the list of linked attributes from DRS replication. + * + * We walk backwards, to do the first entry first, as we * added the entries with DLIST_ADD() which puts them at the - * start of the list */ + * start of the list + */ for (la = DLIST_TAIL(replmd_private->la_list); la; la=prev) { prev = DLIST_PREV(la); DLIST_REMOVE(replmd_private->la_list, la);