repl_meta_data: Clarify that replmd_private->la_list is only for DRS for replication
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Feb 2017 22:02:07 +0000 (11:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Feb 2017 14:30:35 +0000 (15:30 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 23 15:30:35 CET 2017 on sn-devel-144

source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index e3bf0324d7cf5ef022dff5742009f55467bf1f31..5c984adbf5c2efb0d4cea8b755f71c71e4239544 100644 (file)
@@ -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);