bdrv_img_create() use proper errno return values
commit4f70f249ca26e11895b64199f9bcc7a1f894d978
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 16 Dec 2010 12:52:18 +0000 (16 13:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:03 +0000 (17 16:11 +0100)
tree4ab7e788efd5212a678fe46e00e7b59a5f97115f
parent792da93a635bce0181c8a46a26941560bf2f7412
bdrv_img_create() use proper errno return values

Kevin suggested to have bdrv_img_create() return proper -errno values
on error.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c