summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-05-27 04:42:30 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 23:32:19 -0700
commitb8f8239ec39d444c2b861ad19e273925918b9026 (patch)
tree854b3d543e228951544e5e66dbc2e7063bd80217 /xlators/mgmt
parenta3bd6682c3ca9e083ed0de8da8ef42bbaa86416f (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: 2952 (if transport type is 'tcp,rdma', rdma volume file path is not proper) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2952
Diffstat (limited to 'xlators/mgmt')
-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 159ddae517f..24df80dbb6d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1980,7 +1980,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);
}