aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r--drivers/ata/libata-eh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index fbbf79163900..3c31e10caf21 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2050,7 +2050,7 @@ int ata_eh_reset(struct ata_link *link, int classify,
2050 if (rc == -EAGAIN) 2050 if (rc == -EAGAIN)
2051 rc = 0; 2051 rc = 0;
2052 2052
2053 if (rc && try < ARRAY_SIZE(ata_eh_reset_timeouts)) { 2053 if (rc && rc != -ERESTART && try < ARRAY_SIZE(ata_eh_reset_timeouts)) {
2054 unsigned long now = jiffies; 2054 unsigned long now = jiffies;
2055 2055
2056 if (time_before(now, deadline)) { 2056 if (time_before(now, deadline)) {