Skip to content

Commit

Permalink
block/iscsi: fix init value for iTask->retries
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
plieven authored and bonzini committed Jun 18, 2014
1 parent e49ab19 commit 9d2e256
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/iscsi.c
Expand Up @@ -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,
};
}
Expand Down

0 comments on commit 9d2e256

Please sign in to comment.