From ed9a1cfa9873a0b069a8026d8852e44d94396d86 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 6 Sep 2010 12:40:32 +0000 Subject: glusterfsd-mgmt.c: suppress a confusing log during rpc_clnt_init() * it complains about 'transport-type' not being given. fixed. Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 1545 (transport type rdma fails in glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1545 --- glusterfsd/src/glusterfsd-mgmt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 2602d5431..f409386bb 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -318,6 +318,10 @@ glusterfs_mgmt_init (glusterfs_ctx_t *ctx) if (ret) goto out; + ret = dict_set_str (options, "transport-type", "socket"); + if (ret) + goto out; + rpc = rpc_clnt_init (&rpc_cfg, options, THIS->ctx, THIS->name); if (!rpc) { ret = -1; -- cgit