ctdb-recoverd: Simplify arguments to some election functions
authorMartin Schwenke <martin@meltin.net>
Wed, 8 Dec 2021 08:27:01 +0000 (19:27 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 17 Jan 2022 10:21:32 +0000 (10:21 +0000)
commit57882beb16a89d5e4081d0645549891a04ab5fb0
treec411a22d6cf23a0fec70f6f265e23439f8f5c5cd
parent9dbe7cc85e41ce4f9163d8298ba9fb20052db894
ctdb-recoverd: Simplify arguments to some election functions

The pnn and nodemap arguments to force_election() and
send_election_request() are always effectively rec->pnn and
rec->nodemap, so simplify.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c