summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-11-25 02:04:43 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-25 00:33:59 -0800
commitf7436a82bc0d02639efaa8e4fdf922a9849d0713 (patch)
tree8c2f339eea4811a03a3fdf7a1074fb6039c59ff1
parent5725f33e314c2fca6a4b9c2b102fc66361145301 (diff)
mgmt/glusterd: Temporary fix for a crash seen in replace-brick
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2084 ([3.1.1qa5] : replace-brick fails to migrate data when migration from same hostname) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2084
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index e138399ba0d..b2f247a0672 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -4433,8 +4433,8 @@ out:
else
ret = glusterd_op_sm_inject_event (GD_OP_EVENT_COMMIT_ACC, NULL);
- if (dict)
- dict_unref (dict);
+// if (dict)
+// dict_unref (dict);
glusterd_op_sm ();
}