ctdb-recoverd: Use capabilities API
commitc3d6678dbc3e26dfb7f4714c9d171c2e82d9af7c
authorMartin Schwenke <martin@meltin.net>
Thu, 31 Jul 2014 05:26:03 +0000 (31 15:26 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sun, 10 May 2015 01:22:13 +0000 (10 03:22 +0200)
tree34c13bcb6b4f9ff770c0fdb9a7b25c2a865c4ed1
parent7a42bcaeaee7f79eea4a7749479f7fadd3e1ae0a
ctdb-recoverd: Use capabilities API

Simplify update_capabilities() using the capabilities API and store
the capabilities in new field rec->caps rather than scattered around
ctdb->nodes.

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