freeze: Log message from ctdb_start_freeze() and ctdb_control_freeze()
authorAmitay Isaacs <amitay@gmail.com>
Mon, 1 Jul 2013 03:26:33 +0000 (13:26 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 07:41:54 +0000 (17:41 +1000)
commit2a2de0939e1a30a4eb8839dbd49d8d8c80609d9c
tree38b6d00edfc72c23a99ccfc7d71a959bc2992eb9
parentc18dbafff80494277d2bb1c91f67cdf3c2425ad8
freeze: Log message from ctdb_start_freeze() and ctdb_control_freeze()

This ensures that whenever databases are frozen either via sending
control or by calling ctdb_start_freeze(), the action is logged.
Since ctdb_control_freeze() calls ctdb_start_freeze(), move logging of
message in early return condition if databases are already frozen.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 478e24bceda3fedfba54ccb48faa115df726b819)
server/ctdb_freeze.c