[Sheepdog] [PATCH 1/4] logger: move init_base_path() ahead of init_log()

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sat Sep 24 07:53:43 CEST 2011


At Sat, 24 Sep 2011 12:14:52 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> We need set up base dirs for the first place, otherwise sheep daemon will
> exit when there are no directories created beforhand.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/sheep.c      |    4 ++++
>  sheep/sheep_priv.h |    1 +
>  sheep/store.c      |    6 +-----
>  3 files changed, 6 insertions(+), 5 deletions(-)

The first 3 patches look good, anyway.  Applied, thanks!

Kazutaka



More information about the sheepdog mailing list