block/iscsi: fix init value for iTask->retries
authorPeter Lieven <pl@kamp.de>
Wed, 18 Jun 2014 16:40:11 +0000 (18:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 16:42:24 +0000 (18:42 +0200)
during rebasing the changed init value for the
retry counter was missed. This resulted in no retries
being performed at all.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c

index 83c7992..327353c 100644 (file)
@@ -216,7 +216,6 @@ static void iscsi_co_init_iscsitask(IscsiLun *iscsilun, struct IscsiTask *iTask)
 {
     *iTask = (struct IscsiTask) {
         .co         = qemu_coroutine_self(),
-        .retries    = ISCSI_CMD_RETRIES,
         .iscsilun   = iscsilun,
     };
 }