[sheepdog] [PATCH] sheep: use correct error code in rebae_vdi()
Hitoshi Mitake
mitake.hitoshi at gmail.com
Thu Feb 6 06:37:25 CET 2014
At Mon, 3 Feb 2014 10:05:49 +0900,
Hitoshi Mitake wrote:
>
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
> sheep/vdi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
ping?
Thanks,
Hitoshi
>
> diff --git a/sheep/vdi.c b/sheep/vdi.c
> index 3414b05..a50d3df 100644
> --- a/sheep/vdi.c
> +++ b/sheep/vdi.c
> @@ -461,7 +461,7 @@ static int rebase_vdi(const struct vdi_iocb *iocb, uint32_t new_snapid,
> sizeof(iocb->time),
> offsetof(struct sd_inode, snap_ctime), false);
> if (ret != SD_RES_SUCCESS) {
> - ret = SD_RES_BASE_VDI_READ;
> + ret = SD_RES_VDI_WRITE;
> goto out;
> }
>
> --
> 1.7.10.4
>
More information about the sheepdog
mailing list