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>
This commit is contained in:
Ji-Hyeon Gim 2017-06-06 11:18:57 +09:00 committed by Niels de Vos
parent b71059960f
commit 68cb9356d1

View File

@ -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