Skip to content

Commit

Permalink
[SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Bogendoerfer authored and James Bottomley committed Jun 13, 2007
1 parent 29982e9 commit 204abf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/esp_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 204abf2

Please sign in to comment.