summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-06-08 09:28:23 +0000
committerAnand Avati <avati@gluster.com>2011-06-08 11:17:06 -0700
commitfe4eb7c3ac96218fe151633c5ccd34b7c0bea783 (patch)
tree41c605d760a49b2538546b35d99a32fe0d6ba1a7 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parentaa9a6bc1bfd87aa70018dc6acc90fb94cba811c6 (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: 2294 (Currently there is no way through cli to make a volume listen on both the transports (socket/rdma)) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2294
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-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 57da428c6b7..44d3f757ee3 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -2083,7 +2083,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);
}