ctdb_recoverd: Move num_lmasters calculation to near where it is used
commit36fc620898d1cf6f696d7b7b6cb13c6a8d1dc636
authorMartin Schwenke <martin@meltin.net>
Sun, 29 Mar 2015 09:00:17 +0000 (29 20:00 +1100)
committerAmitay Isaacs <amitay@samba.org>
Sun, 10 May 2015 01:22:13 +0000 (10 03:22 +0200)
tree80a3c346be3d1c90ebfb9b7f26167a7fff82fb11
parent1fd2d3886c41b0dd12cd1bebc3add75bd71b05bc
ctdb_recoverd: Move num_lmasters calculation to near where it is used

Unless this node is the recovery master then this is not needed.

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