summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-06 12:40:32 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-06 11:23:37 -0700
commited9a1cfa9873a0b069a8026d8852e44d94396d86 (patch)
treebdb79a4aa6b6535b6480e5e36ab6ae21db55b895
parentedad666e5165dec75ed1970d9e5f7927b43c5bd2 (diff)
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 <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1545 (transport type rdma fails in glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1545
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 2602d5431bc..f409386bb4f 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;