diff options
Diffstat (limited to 'drivers/scsi/qlogicfas408.c')
-rw-r--r-- | drivers/scsi/qlogicfas408.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/qlogicfas408.c b/drivers/scsi/qlogicfas408.c index 575f8a8fcf34..cb75e0b7baea 100644 --- a/drivers/scsi/qlogicfas408.c +++ b/drivers/scsi/qlogicfas408.c | |||
@@ -511,8 +511,14 @@ int qlogicfas408_abort(Scsi_Cmnd * cmd) | |||
511 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) | 511 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) |
512 | { | 512 | { |
513 | struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); | 513 | struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); |
514 | unsigned long flags; | ||
515 | |||
514 | priv->qabort = 2; | 516 | priv->qabort = 2; |
517 | |||
518 | spin_lock_irqsave(cmd->device->host->host_lock, flags); | ||
515 | ql_zap(priv); | 519 | ql_zap(priv); |
520 | spin_unlock_irqrestore(cmd->device->host->host_lock, flags); | ||
521 | |||
516 | return SUCCESS; | 522 | return SUCCESS; |
517 | } | 523 | } |
518 | 524 | ||