diff options
-rw-r--r-- | drivers/block/aoe/aoecmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 22bebf87945c..207aabcd1f4e 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c | |||
@@ -331,7 +331,7 @@ rexmit_timer(ulong vp) | |||
331 | spin_lock_irqsave(&d->lock, flags); | 331 | spin_lock_irqsave(&d->lock, flags); |
332 | 332 | ||
333 | if (d->flags & DEVFL_TKILL) { | 333 | if (d->flags & DEVFL_TKILL) { |
334 | tdie: spin_unlock_irqrestore(&d->lock, flags); | 334 | spin_unlock_irqrestore(&d->lock, flags); |
335 | return; | 335 | return; |
336 | } | 336 | } |
337 | f = d->frames; | 337 | f = d->frames; |
@@ -342,7 +342,7 @@ tdie: spin_unlock_irqrestore(&d->lock, flags); | |||
342 | n /= HZ; | 342 | n /= HZ; |
343 | if (n > MAXWAIT) { /* waited too long. device failure. */ | 343 | if (n > MAXWAIT) { /* waited too long. device failure. */ |
344 | aoedev_downdev(d); | 344 | aoedev_downdev(d); |
345 | goto tdie; | 345 | break; |
346 | } | 346 | } |
347 | rexmit(d, f); | 347 | rexmit(d, f); |
348 | } | 348 | } |