From: Martin Schwenke Date: Tue, 27 Aug 2019 02:13:51 +0000 (+1000) Subject: ctdb-recoverd: Fix typo in previous fix X-Git-Tag: samba-4.9.14~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=745052cb6b92e5379f21a9f9edb80118812555e6;p=thirdparty%2Fsamba.git ctdb-recoverd: Fix typo in previous fix BUG: https://bugzilla.samba.org/show_bug.cgi?id=14085 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Aug 27 15:29:11 UTC 2019 on sn-devel-184 (cherry picked from commit 8190993d99284162bd8699780248bb2edfec2673) --- diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c index 41f53fd1fbe..4e7e79c264b 100644 --- a/ctdb/server/ctdb_recoverd.c +++ b/ctdb/server/ctdb_recoverd.c @@ -2991,7 +2991,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; }