Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */