14f8ab
From 4fa3c0be983c3f99c2785036ded5ef5ab390419b Mon Sep 17 00:00:00 2001
14f8ab
From: Pranith Kumar K <pkarampu@redhat.com>
14f8ab
Date: Mon, 6 May 2019 15:57:16 +0530
14f8ab
Subject: [PATCH 211/221] libglusterfs: Fix compilation when --disable-mempool
14f8ab
 is used
14f8ab
14f8ab
Upstream patch:
14f8ab
> BUG: 1193929
14f8ab
> Upstream patch link: https://review.gluster.org/c/glusterfs/+/22665
14f8ab
> Change-Id: I245c065b209bcce5db939b6a0a934ba6fd393b47
14f8ab
> Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
14f8ab
14f8ab
Updates: bz#1722801
14f8ab
Change-Id: I245c065b209bcce5db939b6a0a934ba6fd393b47
14f8ab
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
14f8ab
Reviewed-on: https://code.engineering.redhat.com/gerrit/174713
14f8ab
Tested-by: RHGS Build Bot <nigelb@redhat.com>
14f8ab
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
14f8ab
---
14f8ab
 libglusterfs/src/mem-pool.c | 5 +++++
14f8ab
 1 file changed, 5 insertions(+)
14f8ab
14f8ab
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
14f8ab
index ca25ffc..df167b6 100644
14f8ab
--- a/libglusterfs/src/mem-pool.c
14f8ab
+++ b/libglusterfs/src/mem-pool.c
14f8ab
@@ -616,6 +616,11 @@ void
14f8ab
 mem_pools_fini(void)
14f8ab
 {
14f8ab
 }
14f8ab
+void
14f8ab
+mem_pool_thread_destructor(void)
14f8ab
+{
14f8ab
+}
14f8ab
+
14f8ab
 #endif
14f8ab
 
14f8ab
 struct mem_pool *
14f8ab
-- 
14f8ab
1.8.3.1
14f8ab