summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.h
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-04-01 10:10:41 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-04-04 02:33:44 +0000
commitc7e03a2caae5a776ec55443f15489de8195b9817 (patch)
tree9911fa2c04af635a27b976dfbc396ddf0d53d56b /xlators/mgmt/glusterd/src/glusterd-op-sm.h
parent089351f3d80d37cf2d46f05211191bef5232c12c (diff)
glusterd: fix txn_opinfo memory leak
For transactions where there's no volname involved (eg : gluster v status), the originator node initiates with staging phase and what that means in op-sm there's no unlock event triggered which resulted into a txn_opinfo dictionary leak. Credits : cynthia.zhou@nokia-sbell.com Change-Id: I92fffbc2e8e1b010f489060f461be78aa2b86615 Fixes: bz#1550339 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
index daf8f21cc6c..92a604b680c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
@@ -100,6 +100,7 @@ struct glusterd_op_info_ {
char *op_errstr;
struct cds_list_head pending_bricks;
uint32_t txn_generation;
+ gf_boolean_t skip_locking;
};
typedef struct glusterd_op_info_ glusterd_op_info_t;