mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb/daemon: reloadips must register state of asynchronous controls
Otherwise ctdb_client_async_wait() is a no-op. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
05c1fe5055
commit
e5778cc172
@ -4458,6 +4458,7 @@ static int ctdb_reloadips_child(struct ctdb_context *ctdb)
|
||||
goto failed;
|
||||
}
|
||||
|
||||
ctdb_client_async_add(async_data, state);
|
||||
}
|
||||
}
|
||||
|
||||
@ -4534,6 +4535,8 @@ static int ctdb_reloadips_child(struct ctdb_context *ctdb)
|
||||
" failed sending CTDB_CONTROL_ADD_PUBLIC_IP\n"));
|
||||
goto failed;
|
||||
}
|
||||
|
||||
ctdb_client_async_add(async_data, state);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user