summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.c
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2011-04-15 09:15:23 +0000
committerAnand Avati <avati@gluster.com>2011-04-15 23:33:22 -0700
commit5c9c2555911d8d7131e3c0d918f6ee9c0b3b612f (patch)
tree7e1ee383e014af09e3653ce1d400a9684ad1df5f /xlators/mgmt/glusterd/src/glusterd-op-sm.c
parent2479f442ca8f9e2dd23988e1f2dc20238443a769 (diff)
mgmt/glusterd: does not allow disabling of indexing (xtime marking), if a gsync session is active.
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2559 (provide two options in CLI for gluster volume gsync indexing <volname> <enable|disable>) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2559
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 578b39363..64eb688ef 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -110,8 +110,6 @@ typedef struct glusterd_quota_child_info {
static int
glusterd_restart_brick_servers (glusterd_volinfo_t *);
-static int
-glusterd_check_gsync_running (glusterd_volinfo_t *volinfo, gf_boolean_t *flag);
char*
@@ -2351,7 +2349,7 @@ out:
return ret;
}
-static int
+int
glusterd_check_gsync_running (glusterd_volinfo_t *volinfo, gf_boolean_t *flag)
{