diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2007-06-13 21:58:53 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-13 22:38:01 +0200 |
commit | 204abf28679cd55a8e254b18965583bb1c8bc739 (patch) | |
tree | ed5ea495d441ba92af9ff36e29a7a26118824429 /drivers | |
parent | [SCSI] fusion: fix for BZ 8426 - massive slowdown on SCSI CD/DVD drive (diff) | |
download | linux-204abf28679cd55a8e254b18965583bb1c8bc739.tar.xz linux-204abf28679cd55a8e254b18965583bb1c8bc739.zip |
[SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING.
esp_reset_cleanup() does everything necessary except clear
the flag, so we never exit resetting state.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/esp_scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c index ec71061aef61..71caf2ded6ba 100644 --- a/drivers/scsi/esp_scsi.c +++ b/drivers/scsi/esp_scsi.c @@ -2033,6 +2033,7 @@ static void esp_reset_cleanup(struct esp *esp) starget_for_each_device(tp->starget, NULL, esp_clear_hold); } + esp->flags &= ~ESP_FLAG_RESETTING; } /* Runs under host->lock */ |