Re: [Qemu-devel] [PATCH 2/8] vmdk: fix return values of vmdk_parent_open

2011-10-20 Thread Kevin Wolf
Am 19.10.2011 16:59, schrieb Paolo Bonzini: > While vmdk_open_desc_file (touched by the patch) correctly changed -1 > to -EINVAL, vmdk_open did not. Fix it directly in vmdk_parent_open. > > Signed-off-by: Paolo Bonzini > --- > block/vmdk.c | 11 ++- > 1 files changed, 6 insertions(+),

[Qemu-devel] [PATCH 2/8] vmdk: fix return values of vmdk_parent_open

2011-10-19 Thread Paolo Bonzini
While vmdk_open_desc_file (touched by the patch) correctly changed -1 to -EINVAL, vmdk_open did not. Fix it directly in vmdk_parent_open. Signed-off-by: Paolo Bonzini --- block/vmdk.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c