qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] block/iscsi: fix init value for iTask->retries


From: Peter Lieven
Subject: [Qemu-devel] [PATCH] block/iscsi: fix init value for iTask->retries
Date: Wed, 18 Jun 2014 18:40:11 +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 <address@hidden>
---
 block/iscsi.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/block/iscsi.c b/block/iscsi.c
index 83c7992..327353c 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -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,
     };
 }
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]