Skip to content

Commit

Permalink
[PATCH] aoe: do not stop retransmit timer when device goes down
Browse files Browse the repository at this point in the history
This patch is a bugfix that follows and depends on the
eight aoe driver patches sent January 19th.

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ed L. Cashin authored and Greg Kroah-Hartman committed Mar 24, 2006
1 parent a712c0e commit 1c6f3fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ rexmit_timer(ulong vp)
spin_lock_irqsave(&d->lock, flags);

if (d->flags & DEVFL_TKILL) {
tdie: spin_unlock_irqrestore(&d->lock, flags);
spin_unlock_irqrestore(&d->lock, flags);
return;
}
f = d->frames;
Expand All @@ -342,7 +342,7 @@ tdie: spin_unlock_irqrestore(&d->lock, flags);
n /= HZ;
if (n > MAXWAIT) { /* waited too long. device failure. */
aoedev_downdev(d);
goto tdie;
break;
}
rexmit(d, f);
}
Expand Down

0 comments on commit 1c6f3fc

Please sign in to comment.