2005-11-27 17:14:04

by Vasily Averin

[permalink] [raw]
Subject: [SCSI] aic7xxx: reset handler selects a wrong command

--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-11-27 18:05:03.000000000 +0300
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-11-27 18:06:36.000000000 +0300
@@ -2169,7 +2169,7 @@ ahc_linux_queue_recovery_cmd(struct scsi
if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd),
scmd_channel(cmd) + 'A',
CAM_LUN_WILDCARD,
- SCB_LIST_NULL, ROLE_INITIATOR) == 0)
+ SCB_LIST_NULL, ROLE_INITIATOR))
break;
}
}


Attachments:
diff-drv-aic7xxx-20051127 (438.00 B)