summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 5310e72070e..29b34883a81 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -30,7 +30,7 @@
#include "glusterd-mem-types.h"
#include "cli1-xdr.h"
#include "glusterd-volgen.h"
-#include "glusterd-op-sm.h"
+#include "glusterd-geo-rep.h"
#include "glusterd-utils.h"
#include "run.h"
#include "options.h"
@@ -1315,7 +1315,7 @@ server_check_marker_off (volgen_graph_t *graph, struct volopt_map_entry *vme,
if (ret) {
enabled = _gf_false;
- ret = glusterd_check_gsync_running (volinfo, &enabled);
+ glusterd_check_geo_rep_configured (volinfo, &enabled);
if (enabled) {
gf_log ("", GF_LOG_WARNING, GEOREP" sessions active"
@@ -1327,12 +1327,6 @@ server_check_marker_off (volgen_graph_t *graph, struct volopt_map_entry *vme,
ret = -1;
goto out;
}
-
- if (ret) {
- gf_log ("", GF_LOG_WARNING, "Unable to get the status"
- " of active gsync session");
- goto out;
- }
}
ret = 0;