aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2007-06-13 15:58:53 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-13 16:38:01 -0400
commit204abf28679cd55a8e254b18965583bb1c8bc739 (patch)
treeed5ea495d441ba92af9ff36e29a7a26118824429
parent29982e9acd3e81a289c73321401427d02eaa8adc (diff)
[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>
-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)
2033 starget_for_each_device(tp->starget, NULL, 2033 starget_for_each_device(tp->starget, NULL,
2034 esp_clear_hold); 2034 esp_clear_hold);
2035 } 2035 }
2036 esp->flags &= ~ESP_FLAG_RESETTING;
2036} 2037}
2037 2038
2038/* Runs under host->lock */ 2039/* Runs under host->lock */