[sheepdog] [PATCH] sheep: refine the object cache size value range

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Sep 27 10:18:35 CEST 2012


At Wed, 26 Sep 2012 14:11:13 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> sys->object_cache_size is uint32, we shouldn't use -1 to indicate invalid value.
> Instead, we allow 1 to UINT32_MAX inclusive by using 0 to indicate invalid value
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/sheep.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list