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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index 2340c40..1c2ec58 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -2209,8 +2209,7 @@ out:
int
-glusterd_store_update_volinfo (glusterd_volinfo_t *volinfo,
- glusterd_snap_t *snap)
+glusterd_store_update_volinfo (glusterd_volinfo_t *volinfo)
{
int ret = -1;
int exists = 0;
@@ -2456,7 +2455,7 @@ glusterd_store_retrieve_volume (char *volname, glusterd_snap_t *snap)
if (snap)
volinfo->is_snap_volume = _gf_true;
- ret = glusterd_store_update_volinfo (volinfo, snap);
+ ret = glusterd_store_update_volinfo (volinfo);
if (ret) {
gf_log (this->name, GF_LOG_ERROR, "Failed to update volinfo "
"for %s volume", volname);