Commit 204abf28 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by James Bottomley

[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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 29982e9a
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment