diff options
author | Anand Avati <avati@gluster.com> | 2010-07-21 03:54:16 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-21 02:44:09 -0700 |
commit | d69b8b56d7be4a15e7eac9dcd45d9b19ac2dc0bf (patch) | |
tree | f450c1cb3b4767f4f07e5e0f9050bcab58941e40 /xlators/mgmt/glusterd/src/glusterd.c | |
parent | 74195df7a5bdc6ae9489d63a3b8157cbb2ddd8e2 (diff) |
glusterd: implement GETSPEC
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 3be035e63ac..7e886f17a6c 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -46,6 +46,7 @@ static uuid_t glusterd_uuid; extern struct rpcsvc_program glusterd1_mop_prog; +extern struct rpcsvc_program gluster_handshake_prog; extern struct rpc_clnt_program glusterd3_1_mgmt_prog; static int @@ -249,12 +250,11 @@ init (xlator_t *this) goto out; } -//TODO: Waiting on handshake code -/* gluster_handshake_prog.options = this->options; - ret = rpcsvc_program_register (conf->rpc, gluster_handshake_prog); + gluster_handshake_prog.options = this->options; + ret = rpcsvc_program_register (rpc, gluster_handshake_prog); if (ret) goto out; -*/ + conf = GF_CALLOC (1, sizeof (glusterd_conf_t), gf_gld_mt_glusterd_conf_t); GF_VALIDATE_OR_GOTO(this->name, conf, out); |