tools-ctdb: Factor out function read_pnn_node_file()
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Mar 2014 01:57:30 +0000 (12:57 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 26 Mar 2014 02:58:28 +0000 (13:58 +1100)
commit5ed83c6f18a66e35fe364ac66c474554677b2d0f
treee784371b485ed6b7031f3fbdc3995aee7ee390d6
parenta1f0b5dca579cfb3703bb5192e744c39707de2a4
tools-ctdb: Factor out function read_pnn_node_file()

Factor it from read_nodes_file().  Use it there and in
read_natgw_nodes_file().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit 91895b33c52c0a81904c3ea36042d4574422f5fd)
tools/ctdb.c