mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
repl_meta_data: Clarify that replmd_private->la_list is only for DRS for replication
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
This commit is contained in:
parent
7ed611143f
commit
646917ec07
@ -7095,9 +7095,13 @@ static int replmd_prepare_commit(struct ldb_module *module)
|
|||||||
struct la_backlink *bl;
|
struct la_backlink *bl;
|
||||||
int ret;
|
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
|
* 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) {
|
for (la = DLIST_TAIL(replmd_private->la_list); la; la=prev) {
|
||||||
prev = DLIST_PREV(la);
|
prev = DLIST_PREV(la);
|
||||||
DLIST_REMOVE(replmd_private->la_list, la);
|
DLIST_REMOVE(replmd_private->la_list, la);
|
||||||
|
Loading…
Reference in New Issue
Block a user