]> git.proxmox.com Git - qemu.git/commit
parallels: Fix bdrv_open() error handling
authorKevin Wolf <kwolf@redhat.com>
Fri, 25 Jan 2013 16:07:32 +0000 (17:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Feb 2013 13:58:29 +0000 (14:58 +0100)
commit46536235d80a012cc4286b71426cafad0c7f41f0
tree3b821b0c326f44e33d2e4572c364fa49b54b0324
parent4f8aa2e19f88fe0dfaf8240ae666de7fd18dd1d0
parallels: Fix bdrv_open() error handling

Return -errno instead of -1 on errors. Hey, no memory leak to fix here
while we're touching it!

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/parallels.c