[sheepdog] [PATCH] dog: check existence of specified snapshot in vdi_restore()
Hitoshi Mitake
mitake.hitoshi at gmail.com
Mon Oct 28 08:10:15 CET 2013
On Mon, Oct 28, 2013 at 3:52 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> On Mon, Oct 28, 2013 at 03:32:12PM +0900, Hitoshi Mitake wrote:
>> Current "dog vdi restore" doesn't check existence of specified
>> snapshot. So if users specify invalid snapshot ID or tag, the parent
>> VDI is simply deleted. This behavior causes serious problem. This
>> patch adds the existence check for preventing it.
>
> I think it is good time to update 041 to test 'vdi restore' on none-exist
> snapshot too.
>
Thanks for your comment, I've sent an updated version.
Hitoshi
More information about the sheepdog
mailing list