If this codepath is hit, ctdb aborts with:
ctdb/server/ctdb_recovery_helper.c:2687: Type mismatch: name[struct ban_node_state] expected[struct node_ban_state]")
at ../../lib/talloc/talloc.c:505
Fix this by using the correct type.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed May 3 08:04:09 UTC 2023 on atb-devel-224
{
struct tevent_req *req = tevent_req_callback_data(
subreq, struct tevent_req);
- struct node_ban_state *state = tevent_req_data(
- req, struct node_ban_state);
+ struct ban_node_state *state = tevent_req_data(
+ req, struct ban_node_state);
struct ctdb_reply_control *reply;
int ret;
bool status;