sheep: return default copy number as formated

We should return cinfo.nr_copies, which is the number as formated, for
get_vdi_copy_number() if copy number isn't found during init.

Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>

Conflicts:
	sheep/vdi.c

The conflict was manually solved by Hitoshi Mitake.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
dog: fix return value of vdi_backup()

"dog vdi backup" command returns 16 as its status code even if it
successfully ended.

This is because the current vdi_backup function returns the byte count
returned by the last xwrite call in the function.

This fixes the issue by overwriting the return code with EXIT_SUCCESS
at the end of the normal path of vdi_backup().

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Reviewed-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
sheepdog stable release v0.7.5-rc0

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>