ctdbd: Simplify database directory setting logic
authorMartin Schwenke <martin@meltin.net>
Mon, 21 Oct 2013 08:36:36 +0000 (19:36 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 25 Oct 2013 01:06:06 +0000 (12:06 +1100)
commit1fe82f3d7b610547ff4945887f15dd6c5798a49b
tree1dc3ea5afee08019ca9ec7e499eb2b553891bed8
parentd73d84346488a2ed54e6a86f9d7ec641c8e33ace
ctdbd: Simplify database directory setting logic

No need to check if the options are set.  The options are always set
via static defaults.

No need to talloc_strdup() the values via wrapper functions.  The
options aren't going away.  Remove now unused ctdb_set_tdb_dir() and
similar functions.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
include/ctdb_client.h
server/ctdb_server.c
server/ctdbd.c