ctdbd: Remove duplicate database directory setting logic
commita604c3d945303d58ce12f20de6a3a6fad1493f49
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)
treebc303d295dadc2e02637265d7c7f78b8f91718d1
parentbd73e017b0d4943a35da95eef7f1a88a96f21648
ctdbd: Remove duplicate database directory setting logic

Defaults for ctdb->db_directory and similar variables are currently
set in 2 places.

Change this to set them in only 1 place and make the directories at
initialisation time instead of waiting until later.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit d73d84346488a2ed54e6a86f9d7ec641c8e33ace)
ctdb/server/ctdb_ltdb_server.c
ctdb/server/ctdbd.c