summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-06-17 06:10:01 +0000
committerAnand Avati <avati@gluster.com>2011-06-19 02:16:18 -0700
commit8711a4f9dbc89cf13f10df7fffb64a9ef715fe15 (patch)
treec7e23c633a853018818868244a5475c3e88cb0df
parentd4a32e0714b38355c43a7e7348ddff190fd81dcf (diff)
glusterd-volgen: fix rdma volume file path in case of 'tcp, rdma' transport.
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2258 (enhance gluster volume rebalance) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2258
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 1c7626cf1ab..3a1fa00f262 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1849,7 +1849,7 @@ get_rdma_client_filepath (char *filename, glusterd_volinfo_t *volinfo)
GLUSTERD_GET_VOLUME_DIR (path, volinfo, priv);
- snprintf (filename, PATH_MAX, "%s/%s-rdma-fuse.vol",
+ snprintf (filename, PATH_MAX, "%s/%s.rdma-fuse.vol",
path, volinfo->volname);
}