ctdb-recoverd: LCP2 cleanups
authorMartin Schwenke <martin@meltin.net>
Fri, 7 Feb 2014 06:32:12 +0000 (17:32 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 19 Feb 2014 01:04:47 +0000 (12:04 +1100)
commit24b734f084de36160d065dc639100eab3b186f6c
tree8b3b30856e5c8dcf36348ee4eb5153eae7fe17d3
parent9e5ef44f32fad6606bd95e619f0720a72344e441
ctdb-recoverd: LCP2 cleanups

* Remove unnecessary candimbl parameter.

  This parameter can be cheaply calculated in
  lcp2_failback_candidate().  The compiler will probably do an
  excellent job optimising it.  :-)

* Clarify a debug statement

  This is much clearer than doing a complex recalculation of a known
  value.

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