ctdb-ipalloc: Add error handling to IP allocation
authorMartin Schwenke <martin@meltin.net>
Fri, 30 Oct 2015 00:47:22 +0000 (11:47 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 23 Nov 2015 01:31:10 +0000 (02:31 +0100)
commit921e17d81ebbcc5ec4531925f108cff37e562845
tree0a98efc3266c95d061824edf0d0fabf17106976e
parent25c10936eb5a800e7f0a5874a4093581ac5da9af
ctdb-ipalloc: Add error handling to IP allocation

The only likely failure is out of memory, so just return boolean
value.

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