iscsi: fix -ENOSPC in iscsi_create()
authorPeter Lieven <pl@kamp.de>
Thu, 11 Jul 2013 12:16:24 +0000 (14:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Jul 2013 15:00:28 +0000 (17:00 +0200)
commitd3bda7bc166f40326ba646ee145630bb1b59da96
tree42751c171441534b0da01b3a473b9c56da8b2885
parent0a53f010745635c39a83756a948df60a84e88fe5
iscsi: fix -ENOSPC in iscsi_create()

the -ENOPSC case did not work due to the missing goto.

Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c