Skip to contentSkip to conversation

: ESP reset bug fix

PATCH New David Miller 1 participant 1 message Jun 13, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : ESP reset bug fix

James could you please push this bug fix from Thomas to Linus?

Thanks a lot!

[SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING.

From: Thomas Bogendoerfer <[email protected]>

esp_reset_cleanup() does everything necessary except clear the flag, so we never exit resetting state.

drivers/scsi/esp_scsi.c +1 -0
index ec71061..71caf2d 100644
@@ -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 */