diff options
author | Martin Schwenke <martin@meltin.net> | 2013-08-27 15:14:10 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2013-09-11 15:34:58 +1000 |
commit | c870f01160a8f912c4d0964d2aeec986b67d1145 (patch) | |
tree | 29498dc6a1ee54de844f4ace5960e258753978ec /ctdb | |
parent | 2d31ec2131e05968eca25c9e58300b1b53101065 (diff) | |
download | samba-c870f01160a8f912c4d0964d2aeec986b67d1145.tar.gz samba-c870f01160a8f912c4d0964d2aeec986b67d1145.tar.xz samba-c870f01160a8f912c4d0964d2aeec986b67d1145.zip |
tools/ctdb: list_of_active_nodes_except_pnn() -> list_of_nodes()
list_of_active_nodes_except_pnn() is only used here and can be removed
if we remove this call. Less is more...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d4e206fb818048b7fab4797c877b854bdbb1ab70)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/tools/ctdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index fc3125815e..6ca340770f 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -1607,7 +1607,7 @@ static int move_ip(struct ctdb_context *ctdb, ctdb_sock_addr *addr, uint32_t pnn return ret; } - nodes = list_of_active_nodes_except_pnn(ctdb, nodemap, tmp_ctx, pnn); + nodes = list_of_nodes(ctdb, nodemap, tmp_ctx, NODE_FLAGS_INACTIVE, pnn); ret = ctdb_client_async_control(ctdb, CTDB_CONTROL_RELEASE_IP, nodes, 0, LONGTIMELIMIT(), |