From 63f00588bbfd477c2f4579fd4392c14679dd7ac0 Mon Sep 17 00:00:00 2001 From: Pranith K Date: Thu, 24 Feb 2011 06:16:36 +0000 Subject: mgmt/glusterd: prevent spurious cmd unlocks Signed-off-by: Pranith Kumar K Signed-off-by: Anand V. Avati BUG: 2460 ([glusterfs-3.2.0-gsync1]: gluserd crashed trying to access freed request) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2460 --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 501e01cfc..00e5aca63 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -6480,6 +6480,7 @@ glusterd_op_free_ctx (glusterd_op_t op, void *ctx, gf_boolean_t ctx_free) case GD_OP_SET_VOLUME: case GD_OP_START_VOLUME: case GD_OP_RESET_VOLUME: + case GD_OP_GSYNC_SET: dict_unref (ctx); break; case GD_OP_DELETE_VOLUME: -- cgit