Patchwork [BRANCH:release-3.2,BUG:2952] glusterd-volgen: fix rdma volume file path in case of 'tcp,rdma' transport.

login
register
Submitter Amar Tumballi
Date 2011-05-27 10:12:30
Message ID <20110527101230.GA3237@gluster.com>
Download mbox | patch
Permalink /patch/7274/
State Accepted
Delegated to: Vijay Bellur
Headers show

Comments

Amar Tumballi - 2011-05-27 10:12:30
Signed-off-by: Amar Tumballi <amar@gluster.com>
---
 xlators/mgmt/glusterd/src/glusterd-volgen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index f7f3ddd..20f38f5 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);
 }