summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-05 08:02:41 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-05 07:50:33 -0700
commit05727129fd08e237d2b4f5daf4726438ebc6efb6 (patch)
tree1b72f49e8259e1dcf9f08733f9e6da59f3ee2e6c
parentef13a1046f72c993b8e053e5fc5f671e9bd2579b (diff)
mgmt/glusterd: dont access req after reply
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
-rw-r--r--xlators/mgmt/glusterd/src/glusterd3_1-mops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
index c21b43bcfb9..858eb33f946 100644
--- a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
+++ b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
@@ -1445,8 +1445,6 @@ out:
otherwise rpcsvc.c will send an error reply for the same
request, which causes double replies */
ret = glusterd_op_send_cli_response (req->procnum, ret, 0, req, NULL, op_errstr);
- if (!ret)
- req->rpc_err = SUCCESS;
}
if (op_errstr && (strcmp (op_errstr, "")))
GF_FREE (op_errstr);