diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:54:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:04:55 -0400 |
commit | 8fa728a26886f56a9ee10a44fea0ddda301d21c3 (patch) | |
tree | 105ead5c90057400abae0c8aa9e2b5ba1818c327 /drivers/scsi/aic7xxx/aic7xxx_osm.c | |
parent | 3471c288036bf0835a82d0b1bbce2002f6e68390 (diff) |
[SCSI] allow sleeping in ->eh_abort_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index e3892585d7e6..89f073a3b766 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -2249,6 +2249,8 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag) | |||
2249 | printf(" 0x%x", cmd->cmnd[cdb_byte]); | 2249 | printf(" 0x%x", cmd->cmnd[cdb_byte]); |
2250 | printf("\n"); | 2250 | printf("\n"); |
2251 | 2251 | ||
2252 | spin_lock_irq(&ahc->platform_data->spin_lock); | ||
2253 | |||
2252 | /* | 2254 | /* |
2253 | * First determine if we currently own this command. | 2255 | * First determine if we currently own this command. |
2254 | * Start by searching the device queue. If not found | 2256 | * Start by searching the device queue. If not found |
@@ -2503,6 +2505,8 @@ done: | |||
2503 | } | 2505 | } |
2504 | spin_lock_irq(&ahc->platform_data->spin_lock); | 2506 | spin_lock_irq(&ahc->platform_data->spin_lock); |
2505 | } | 2507 | } |
2508 | |||
2509 | spin_unlock_irq(&ahc->platform_data->spin_lock); | ||
2506 | return (retval); | 2510 | return (retval); |
2507 | } | 2511 | } |
2508 | 2512 | ||