summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-08-27 12:13:51 +1000
committerKarolin Seeger <kseeger@samba.org>2019-09-04 08:31:23 +0000
commit8b680d309798d91e4658a358831e957aaffa480b (patch)
tree19698ba1118457e878e66fafecf24c47694f9bf1
parent20c4d212472e177739186e9ce675fa49a5ff0a64 (diff)
downloadsamba-8b680d309798d91e4658a358831e957aaffa480b.tar.gz
ctdb-recoverd: Fix typo in previous fix
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14085 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Tue Aug 27 15:29:11 UTC 2019 on sn-devel-184 (cherry picked from commit 8190993d99284162bd8699780248bb2edfec2673)
-rw-r--r--ctdb/server/ctdb_recoverd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c
index a190d0c9985..3d5b727715a 100644
--- a/ctdb/server/ctdb_recoverd.c
+++ b/ctdb/server/ctdb_recoverd.c
@@ -2998,7 +2998,7 @@ static void main_loop(struct ctdb_context *ctdb, struct ctdb_recoverd *rec,
continue;
}
if (! ctdb_node_has_capabilities(rec->caps,
- ctdb->nodes[j]->pnn,
+ nodemap->nodes[j].pnn,
CTDB_CAP_LMASTER)) {
continue;
}