summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index 54c8263a292..70e3536af85 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -2021,7 +2021,8 @@ out:
return ret;
}
-static int
+
+int
glusterd_restore_op_version (xlator_t *this)
{
glusterd_conf_t *conf = NULL;
@@ -4273,13 +4274,6 @@ glusterd_restore ()
this = THIS;
- ret = glusterd_restore_op_version (this);
- if (ret) {
- gf_log (this->name, GF_LOG_ERROR,
- "Failed to restore op_version");
- goto out;
- }
-
ret = glusterd_store_retrieve_volumes (this, NULL);
if (ret)
goto out;