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)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:51 +0000 (13:35 +0200)
commit555d21a28e95d653cc5e66f1790bc029a86c8a9c
tree7863e8b1d228bf9601f24a5ebd6da41215e58a1f
parent5503a9489b79878f79ddc02be0d3f6d43f0958c0
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