Skip to contentSkip to conversation

block/iscsi: fix init value for iTask->retries

PATCH Applied Peter Lieven 2 participants 3 messages Jun 18, 2014 – Jun 23, 2014 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block/iscsi: fix init value for iTask->retries

during rebasing the changed init value for the retry counter was missed. This resulted in no retries being performed at all.

---
 block/iscsi.c |    1 -
 1 file changed, 1 deletion(-)
block/iscsi.c +0 -1
index 83c7992..327353c 100644
@@ -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,
     };
 }
Signature · 1 line
1.7.9.5