]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING.
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 13 Jun 2007 19:58:53 +0000 (12:58 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 13 Jun 2007 20:38:01 +0000 (13:38 -0700)
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>
drivers/scsi/esp_scsi.c

index ec71061aef61165da0ef3c77ff58e66a260a34c8..71caf2ded6badcfd90dad000804f00782cfe591c 100644 (file)
@@ -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 */