freeze: If priority is invalid here, it's time to abort
authorAmitay Isaacs <amitay@gmail.com>
Mon, 1 Jul 2013 06:21:00 +0000 (16:21 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 07:41:54 +0000 (17:41 +1000)
commitfaf8a5fd78ca4854bf103bb4317758082f127684
tree76170f3d2b7fcc881fe6837436033757fffea5ba
parent2a2de0939e1a30a4eb8839dbd49d8d8c80609d9c
freeze: If priority is invalid here, it's time to abort

ctdb_start_freeze() is called from ctdb_control_freeze() which fixes the
priority if it's 0 and return error if it's invalid.  Other callers of
ctdb_start_freeze() are internal to CTDB.  So if priority is invalid in
ctdb_start_freeze(), definitely something is seriously wrong.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 87716e8f504d659515d3dbcf93badbf106873bc8)

Conflicts:
server/ctdb_freeze.c
server/ctdb_freeze.c