summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2014-06-04 12:30:44 +0000
committerVenky Shankar <vshankar@redhat.com>2014-06-12 05:48:54 -0700
commit1f21201a434dd37b621efd3cc5d2ef1fd077c303 (patch)
tree138ebbea13840f091450f35bdc8dc39f1035dcfd /xlators/mgmt/glusterd/src/glusterd-brick-ops.c
parent665366a72b720d2eee61aba8b3108e12747db767 (diff)
glusterd/geo-rep: Create the conf file path correctly
In case of mount brocker, the conf file path needs to be correctly created, and then fetch the status file Change-Id: Iaa1b04ee46f10961a7056e834170d68282c36efa BUG: 1104649 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/7977 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-brick-ops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-brick-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
index 6544d7324e2..adbaf79aad8 100644
--- a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
@@ -889,7 +889,7 @@ _glusterd_restart_gsync_session (dict_t *this, char *key,
char *path_list = NULL;
char *slave_vol = NULL;
char *slave_host = NULL;
- char *slave_ip = NULL;
+ char *slave_url = NULL;
char *conf_path = NULL;
char **errmsg = NULL;
int ret = -1;
@@ -925,7 +925,7 @@ _glusterd_restart_gsync_session (dict_t *this, char *key,
}
ret = glusterd_get_slave_details_confpath (param->volinfo,
- param->rsp_dict, &slave_ip,
+ param->rsp_dict, &slave_url,
&slave_host, &slave_vol,
&conf_path, errmsg);
if (ret) {