From 68cb9356d19cba5da7f8a719baca47d34e1740b7 Mon Sep 17 00:00:00 2001 From: Ji-Hyeon Gim Date: Tue, 6 Jun 2017 11:18:57 +0900 Subject: 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 Reviewed-on: https://review.gluster.org/17633 Smoke: Gluster Build System Reviewed-by: Vijay Bellur Reviewed-by: jiffin tony Thottan Tested-by: Ji-Hyeon Gim CentOS-regression: Gluster Build System Reviewed-by: Niels de Vos --- libglusterfs/src/mem-pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') 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 -- cgit