diff options
author | Pranith K <pranithk@gluster.com> | 2011-02-24 06:16:36 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-28 23:10:18 -0800 |
commit | 63f00588bbfd477c2f4579fd4392c14679dd7ac0 (patch) | |
tree | ca8c2cc33e2b89863a7eef7c683f5538dc75b21c /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 8a96aa607b4e3a6c782a0d912b6bf101f82f7c07 (diff) |
mgmt/glusterd: prevent spurious cmd unlocks
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 501e01cfc4b..00e5aca6321 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: |