summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2012-01-23 18:10:47 +0530
committerAnand Avati <avati@gluster.com>2012-01-24 08:37:03 -0800
commitd831aa3a75c0dfb7cf849bac6a00b3ba3897afde (patch)
treead50410600a1cb47f566cfa95b905cd0f056d7f9 /xlators/mgmt
parent0c27a18e0b7b5c922a78f472ed131a665fa01c0e (diff)
mgmt/glusterd: do not assert if op_ctx is NULL
In glusterd_op_send_cli_response we are asserting if op_ctx is NULL. But in handler functions of different ops, we are sending op_ctx NULL which is valid, but still glusterd will assert. Change-Id: I37824c694d14e87a234389d639dfb000592f9513 BUG: 783913 Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Reviewed-on: http://review.gluster.com/2678 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kp@gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rpc-ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
index 2d8c6e75881..e2c60480fc5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
@@ -58,7 +58,6 @@ glusterd_op_send_cli_response (glusterd_op_t op, int32_t op_ret,
char *free_ptr = NULL;
glusterd_conf_t *conf = NULL;
- GF_ASSERT (op_ctx);
GF_ASSERT (THIS);
conf = THIS->private;