ctdb-daemon: Don't index by PNN when initialising node flags
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Jun 2019 20:23:12 +0000 (06:23 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Jul 2019 05:03:24 +0000 (05:03 +0000)
commit75a808fd86a58371b465332f7c9d47d2dfbcbc08
tree706b7851ca44741db359f5743ecf2fd889df89db
parent010c1d77cd7e192b1fff39b7b91fccbdbbf4a786
ctdb-daemon: Don't index by PNN when initialising node flags

Indexing by PNN is wrong.

This also removes a signed/unsigned comparison because the PNN is not
compared to -1 anymore.

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