diff options
author | Ji-Hyeon Gim <potatogim@gluesys.com> | 2017-06-06 11:18:57 +0900 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-06-27 12:48:54 +0000 |
commit | 68cb9356d19cba5da7f8a719baca47d34e1740b7 (patch) | |
tree | 503a63f3c1cebb084c922e03396c7f49bd19ac1e /libglusterfs/src | |
parent | b71059960f8c67d9a058244d2a1c748be4fe1323 (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>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/mem-pool.c | 2 |
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 |