summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-store.c
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2014-04-03 21:30:06 +0530
committerRajesh Joseph <rjoseph@redhat.com>2014-04-07 00:51:03 -0700
commitdc646153c1a9733b44c78550e4b28ec0c9898b4f (patch)
treeefdb0e040a8f8b5fddac17c87743a564b245abce /xlators/mgmt/glusterd/src/glusterd-store.c
parent960ce829906292836f2a34f35f4182011cfe5fb2 (diff)
glusterd/snapshot: Addressed upstream review commentsHEADdevelopment
Code cleanup and review comments fixed. Change-Id: Ie51e3a2f995295632cb1db05bab8b38603ab9a0a Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/7399 Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Reviewed-by: Avra Sengupta <asengupt@redhat.com>
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 2340c4030..1c2ec58e8 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);