summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJi-Hyeon Gim <potatogim@gluesys.com>2017-06-06 11:18:57 +0900
committerNiels de Vos <ndevos@redhat.com>2017-06-27 12:48:54 +0000
commit68cb9356d19cba5da7f8a719baca47d34e1740b7 (patch)
tree503a63f3c1cebb084c922e03396c7f49bd19ac1e
parentb71059960f8c67d9a058244d2a1c748be4fe1323 (diff)
libglusterfs: build failed with GF_DISABLE_MEMPOOL
When we build GlusterFS with GF_DISBLE_MEMPOOL, it is failed due to macro condition in mem-pool.c:mem_get(). Change-Id: I03fe804f93d761ea3bfdc3b20f0253a03350a68f BUG: 1465214 Signed-off-by: Ji-Hyeon Gim <potatogim@potatogim.net> Reviewed-on: https://review.gluster.org/17633 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Tested-by: Ji-Hyeon Gim CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com>
-rw-r--r--libglusterfs/src/mem-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
index 23af8619fb5..fc07a1e25e6 100644
--- a/libglusterfs/src/mem-pool.c
+++ b/libglusterfs/src/mem-pool.c
@@ -700,8 +700,8 @@ mem_get (struct mem_pool *mem_pool)
retval->power_of_two = mem_pool->power_of_two;
return retval + 1;
-}
#endif /* GF_DISABLE_MEMPOOL */
+}
void