From 2453fd874197f84e11ae70053cff7f56a32988f4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 14:35:16 +0000 Subject: automatic import of glusterfs --- ...s-Fix-compilation-when-disable-mempool-is.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 0211-libglusterfs-Fix-compilation-when-disable-mempool-is.patch (limited to '0211-libglusterfs-Fix-compilation-when-disable-mempool-is.patch') diff --git a/0211-libglusterfs-Fix-compilation-when-disable-mempool-is.patch b/0211-libglusterfs-Fix-compilation-when-disable-mempool-is.patch new file mode 100644 index 0000000..27326a9 --- /dev/null +++ b/0211-libglusterfs-Fix-compilation-when-disable-mempool-is.patch @@ -0,0 +1,41 @@ +From 4fa3c0be983c3f99c2785036ded5ef5ab390419b Mon Sep 17 00:00:00 2001 +From: Pranith Kumar K +Date: Mon, 6 May 2019 15:57:16 +0530 +Subject: [PATCH 211/221] libglusterfs: Fix compilation when --disable-mempool + is used + +Upstream patch: +> BUG: 1193929 +> Upstream patch link: https://review.gluster.org/c/glusterfs/+/22665 +> Change-Id: I245c065b209bcce5db939b6a0a934ba6fd393b47 +> Signed-off-by: Pranith Kumar K + +Updates: bz#1722801 +Change-Id: I245c065b209bcce5db939b6a0a934ba6fd393b47 +Signed-off-by: Pranith Kumar K +Reviewed-on: https://code.engineering.redhat.com/gerrit/174713 +Tested-by: RHGS Build Bot +Reviewed-by: Atin Mukherjee +--- + libglusterfs/src/mem-pool.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c +index ca25ffc..df167b6 100644 +--- a/libglusterfs/src/mem-pool.c ++++ b/libglusterfs/src/mem-pool.c +@@ -616,6 +616,11 @@ void + mem_pools_fini(void) + { + } ++void ++mem_pool_thread_destructor(void) ++{ ++} ++ + #endif + + struct mem_pool * +-- +1.8.3.1 + -- cgit v1.2.3