ctdbd: Simplify database directory setting logic
commitb595712f254d249e02cf4bbbc933063725286f78
authorMartin Schwenke <martin@meltin.net>
Mon, 21 Oct 2013 08:36:36 +0000 (21 19:36 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 25 Oct 2013 01:06:06 +0000 (25 12:06 +1100)
treea5e51bf482a38c10270e765ef761f0acb4fcddf7
parenta604c3d945303d58ce12f20de6a3a6fad1493f49
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>

(This used to be ctdb commit 1fe82f3d7b610547ff4945887f15dd6c5798a49b)
ctdb/include/ctdb_client.h
ctdb/server/ctdb_server.c
ctdb/server/ctdbd.c