]> git.proxmox.com Git - mirror_qemu.git/commit - block/iscsi.c
block/iscsi: return -ENOMEM if an async call fails immediately
authorPeter Lieven <pl@kamp.de>
Fri, 20 Dec 2013 09:02:47 +0000 (10:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:16 +0000 (12:07 +0100)
commit92397116a6789ed4455c6dacea0f378cae096d8d
tree66ef782750a160a07aca319d52981e32027a43fd
parent487c1910023c83fa6d550a50c8ad7ee730e60bfa
block/iscsi: return -ENOMEM if an async call fails immediately

if an async libiscsi call fails directly it can only be due
to an out of memory condition. All other errors are returned
through the callback.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/iscsi.c