Commit c83867b3 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by Christoph Hellwig

[PATCH] qla2xxx: EH host-reset fixes

  Fix issue where host-reset would incorrectly return a
  FAILED status.
Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent a7d61f48
...@@ -1663,7 +1663,7 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd) ...@@ -1663,7 +1663,7 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
goto out; goto out;
/* Waiting for our command in done_queue to be returned to OS.*/ /* Waiting for our command in done_queue to be returned to OS.*/
if (qla2x00_eh_wait_for_pending_commands(ha)) if (!qla2x00_eh_wait_for_pending_commands(ha))
rval = FAILED; rval = FAILED;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment