diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index cd1bb880f..45a0b7de5 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -1275,16 +1275,6 @@ init (xlator_t *this) exit (1); } - snprintf (storedir, PATH_MAX, "%s/%s", workdir, - GLUSTERD_VOL_SNAP_CG_DIR_PREFIX); - ret = mkdir (storedir, 0777); - if ((-1 == ret) && (errno != EEXIST)) { - gf_log (this->name, GF_LOG_CRITICAL, - "Unable to create cgs directory %s" - " ,errno = %d", storedir, errno); - exit (1); - } - ret = glusterd_rpcsvc_options_build (this->options); if (ret) goto out; @@ -1349,7 +1339,6 @@ init (xlator_t *this) INIT_LIST_HEAD (&conf->peers); INIT_LIST_HEAD (&conf->volumes); - INIT_LIST_HEAD (&conf->snap_cg); INIT_LIST_HEAD (&conf->snapshots); pthread_mutex_init (&conf->mutex, NULL); |