]> Git Repo - qemu.git/commit - block/vdi.c
vdi: Fix vdi_co_do_create() return value
authorKevin Wolf <[email protected]>
Fri, 25 May 2018 12:48:16 +0000 (14:48 +0200)
committerKevin Wolf <[email protected]>
Tue, 29 May 2018 20:19:57 +0000 (22:19 +0200)
commit53618dd83885cc551a3833e228cf714494602142
tree9d9247cf49be7a676c150fb795bfe50d1f16931f
parent7af5eea9b34ffb7a9a9fc25ba71998a02b76e159
vdi: Fix vdi_co_do_create() return value

.bdrv_co_create() is supposed to return 0 on success, but vdi could
return a positive value instead. Fix this.

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: Jeff Cody <[email protected]>
block/vdi.c
This page took 0.024175 seconds and 4 git commands to generate.