diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-09-04 05:37:16 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-04 04:17:17 -0700 |
commit | a582adf732d976e46eaad9def18f55dbec4d8674 (patch) | |
tree | 473d3100d3765f695f564e4301d76faa585100cb /glusterfsd | |
parent | eef8162e92149794298146fe881789da6a61cdf5 (diff) |
dont destroy the mempools in cleanup and exit as some other thread may be refering to it
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1523 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1523
Diffstat (limited to 'glusterfsd')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index bce5bfd4..e3a7a9d2 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -637,7 +637,6 @@ static void cleanup_and_exit (int signum) { glusterfs_ctx_t *ctx = NULL; - call_pool_t *tmp_pool = NULL; xlator_t *trav = NULL; ctx = glusterfs_ctx_get (); @@ -666,11 +665,6 @@ cleanup_and_exit (int signum) trav = trav->next; } - tmp_pool = ctx->pool; - mem_pool_destroy (tmp_pool->frame_mem_pool); - mem_pool_destroy (tmp_pool->stack_mem_pool); - tmp_pool = NULL; - mem_pool_destroy (ctx->stub_mem_pool); glusterfs_pidfile_cleanup (ctx); |