Patchwork [BUG:2084] mgmt/glusterd: Temporary fix for a crash seen in replace-brick

login
register
Submitter Vijay Bellur
Date 2010-11-25 07:34:43
Message ID <20101125073443.GA26922@dev.gluster.com>
Download mbox | patch
Permalink /patch/5778/
State Accepted
Headers show

Comments

Vijay Bellur - 2010-11-25 07:34:43
Signed-off-by: Vijay Bellur <vijay@gluster.com>
---
 xlators/mgmt/glusterd/src/glusterd-op-sm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index e138399..b2f247a 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 ();
 }