summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp_scsi.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2007-06-13 12:58:53 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-13 13:38:01 -0700
commit204abf28679cd55a8e254b18965583bb1c8bc739 (patch)
treeed5ea495d441ba92af9ff36e29a7a26118824429 /drivers/scsi/esp_scsi.c
parent29982e9acd3e81a289c73321401427d02eaa8adc (diff)
downloadblackbird-op-linux-204abf28679cd55a8e254b18965583bb1c8bc739.tar.gz
blackbird-op-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/scsi/esp_scsi.c')
-rw-r--r--drivers/scsi/esp_scsi.c1
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 */
OpenPOWER on IntegriCloud