mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
[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>
This commit is contained in:
parent
29982e9acd
commit
204abf2867
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user