summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-09-04 05:37:16 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-04 04:17:17 -0700
commita582adf732d976e46eaad9def18f55dbec4d8674 (patch)
tree473d3100d3765f695f564e4301d76faa585100cb /glusterfsd/src
parenteef8162e92149794298146fe881789da6a61cdf5 (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/src')
-rw-r--r--glusterfsd/src/glusterfsd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index bce5bfd4ca5..e3a7a9d2aa6 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);