Skip to content
Snippets Groups Projects
Commit 76ad79b7 authored by Howard Chu's avatar Howard Chu
Browse files

More shutdown fixes

parent de85fbc6
No related branches found
No related tags found
No related merge requests found
......@@ -604,12 +604,17 @@ glue_tool_sync (
{
slap_overinst *on = glue_tool_inst( b0->bd_info );
glueinfo *gi = on->on_bi.bi_private;
BackendInfo *bi = b0->bd_info;
int i;
/* just sync everyone */
for (i = 0; i<gi->gi_nodes; i++)
if (gi->gi_n[i].gn_be->be_sync)
gi->gi_n[i].gn_be->be_sync (gi->gi_n[i].gn_be);
b0->bd_info = on->on_info->oi_orig;
if ( b0->be_sync )
b0->be_sync( b0 );
b0->bd_info = bi;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment