From 0dfe24fc9fc8bf92044fa59e27f61169dfdcd5bc Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 15 Apr 2011 00:58:00 +0000 Subject: use "geo-replication" all over as the official name of this feature Use GEOREP macro if you want to refer to the feature in code. Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2757 (refactory gsync/gsyncd/syncdaemon/whatever to geo-replication) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2757 --- xlators/mgmt/glusterd/src/glusterd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd.c') diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 7d20d6c5e..a0b654fc7 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -238,11 +238,11 @@ configure_syncaemon (xlator_t *this, const char *workdir) char cmd[4096] = {0,}; int blen = 0; - snprintf (voldir, PATH_MAX, "%s/gsync", workdir); + snprintf (voldir, PATH_MAX, "%s/"GEOREP, workdir); ret = mkdir (voldir, 0777); if ((-1 == ret) && (errno != EEXIST)) { gf_log (this->name, GF_LOG_CRITICAL, - "Unable to create gsync directory %s (%s)", + "Unable to create "GEOREP" directory %s (%s)", voldir, strerror (errno)); return -1; } -- cgit