ctdb-recovery: Use correct struct ban_node_state type for state
authorChristof Schmitt <cs@samba.org>
Tue, 2 May 2023 19:17:56 +0000 (12:17 -0700)
committerVolker Lendecke <vl@samba.org>
Wed, 3 May 2023 08:04:09 +0000 (08:04 +0000)
commit4dccf5afa444edecd2893dac7558bac9212526bf
tree942fb014e01d056331f1ab1d60def7c757e7fc1e
parentde1fdf1e0207ff1c2e0ef6baed667cbfc001d7fb
ctdb-recovery: Use correct struct ban_node_state type for state

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
ctdb/server/ctdb_recovery_helper.c