]> Git Repo - qemu.git/commitdiff
block/iscsi: fix init value for iTask->retries
authorPeter Lieven <[email protected]>
Wed, 18 Jun 2014 16:40:11 +0000 (18:40 +0200)
committerPaolo Bonzini <[email protected]>
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
block/iscsi.c

index 83c7992fc797e48820c3f8950b9ad5344d186a8c..327353c3b640af070f1831785731ef371512555a 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,
     };
 }
This page took 0.027486 seconds and 4 git commands to generate.