summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-04 11:20:38 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-04 09:59:41 -0700
commitca8615173f495a906520c3a1b238ed8266a932bf (patch)
treeb497436677e58e3f2ea25adaf68014027b90f514 /xlators/mgmt/glusterd/src
parent846383acb963b9c74a386192bb5050a9366a8036 (diff)
mgmt/glusterd: dont change ret val in cmd handlers if fails
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1726 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1726
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index d644c0c02..48dc673ed 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -842,7 +842,7 @@ out:
if (free_ptr)
GF_FREE(free_ptr);
- ret = glusterd_volume_bricks_delete (&tmpvolinfo);
+ glusterd_volume_bricks_delete (&tmpvolinfo);
if (brickinfo)
glusterd_brickinfo_delete (brickinfo);
if (cli_req.volname)
@@ -1125,7 +1125,7 @@ out:
if (free_ptr)
GF_FREE (free_ptr);
- ret = glusterd_volume_bricks_delete (&tmpvolinfo);
+ glusterd_volume_bricks_delete (&tmpvolinfo);
if (brickinfo)
glusterd_brickinfo_delete (brickinfo);
if (cli_req.volname)