[sheepdog] [PATCH] sheep: let init_vdi_state() return correct value

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue Dec 17 07:34:37 CET 2013


At Mon, 16 Dec 2013 20:16:11 +0900,
Hitoshi Mitake wrote:
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  sheep/plain_store.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ping?

> 
> diff --git a/sheep/plain_store.c b/sheep/plain_store.c
> index 02db25e..f0e2c20 100644
> --- a/sheep/plain_store.c
> +++ b/sheep/plain_store.c
> @@ -221,7 +221,7 @@ static int init_vdi_state(uint64_t oid, const char *wd, uint32_t epoch)
>  	ret = SD_RES_SUCCESS;
>  out:
>  	free(inode);
> -	return SD_RES_SUCCESS;
> +	return ret;
>  }
>  
>  static int init_objlist_and_vdi_bitmap(uint64_t oid, const char *wd,
> -- 
> 1.7.10.4
> 



More information about the sheepdog mailing list