From: Thomas Bogendoerfer Date: Wed, 13 Jun 2007 19:58:53 +0000 (-0700) Subject: [SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=204abf28679cd55a8e254b18965583bb1c8bc739;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: James Bottomley --- 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 */