From 3edfb0c492d73b349d83f904c42e6edfb9678965 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Mon, 10 Oct 2011 18:44:41 +0530 Subject: glusterd: Removing delayed moving of op sm for stop vol/remove brick op. Earlier we waited for brick disconnect or 5s whichever is smaller, before we move op sm from brick op stage to commit stage. This involves a race where both the above mentioned events can happen 'concurrently' and result in double free. Change-Id: I8b1524afded84c20d55e29cfe2579ca872d2ac26 BUG: 3700 Reviewed-on: http://review.gluster.com/575 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/mgmt/glusterd/src/glusterd-op-sm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h index 668da556df1..31551ca430f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h @@ -246,7 +246,6 @@ int32_t glusterd_handle_brick_rsp (glusterd_brickinfo_t *brickinfo, glusterd_op_t op, dict_t *rsp_dict, dict_t *ctx_dict, char **op_errstr); -void glusterd_op_brick_disconnect (void *data); int32_t glusterd_op_init_ctx (glusterd_op_t op); int32_t -- cgit