summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-04-15 22:58:12 +0000
committerAnand Avati <avati@gluster.com>2011-04-16 04:10:42 -0700
commit426eed2dd4992f3fb6048dff49b0e2db38d2a87b (patch)
treec419a2dd792e1e21cb37a6ce7e352da9398e7e84 /xlators/mgmt/glusterd/src/glusterd-op-sm.c
parent1f5ad47e48cf4901b027a674179025c078c00953 (diff)
mgmt/glusterd: Send the error msg to user if gsync start fails
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2781 (geo-replication start error message) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2781
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 64eb688ef..131ae13ee 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -4796,7 +4796,7 @@ glusterd_op_gsync_set (dict_t *dict, char **op_errstr, dict_t *rsp_dict)
host_uuid, op_errstr);
if (ret)
goto out;
- ret = glusterd_start_gsync (volinfo->volname, slave, host_uuid);
+ ret = glusterd_start_gsync (volinfo->volname, slave, host_uuid, op_errstr);
}