diff options
author | Peter Lieven <pl@kamp.de> | 2014-06-18 18:40:11 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-18 18:42:24 +0200 |
commit | 9d2e256e62738f17d067258012f9a32e74bb9a8e (patch) | |
tree | 67ef8e86e12bd0010b11309152554db839eaebc6 /block | |
parent | e49ab19fcaa617ad6cdfe1ac401327326b6a2552 (diff) |
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.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/iscsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index 83c7992fc7..327353c3b6 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, }; } |