Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346477
b: refs/heads/master
c: 0d555ec
h: refs/heads/master
i:
  346475: be35456
v: v3
  • Loading branch information
Ed Cashin authored and Linus Torvalds committed Dec 18, 2012
1 parent 8edabce commit 223db41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2292a7e109d28ffd70ad060b241f9bd2a687dfa0
refs/heads/master: 0d555ecfa468f6dc29697829844f2f79909e376f
4 changes: 2 additions & 2 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,14 +603,14 @@ rexmit_timer(ulong vp)

d = (struct aoedev *) vp;

spin_lock_irqsave(&d->lock, flags);

/* timeout based on observed timings and variations */
timeout = 2 * d->rttavg >> RTTSCALE;
timeout += 8 * d->rttdev >> RTTDSCALE;
if (timeout == 0)
timeout = 1;

spin_lock_irqsave(&d->lock, flags);

if (d->flags & DEVFL_TKILL) {
spin_unlock_irqrestore(&d->lock, flags);
return;
Expand Down

0 comments on commit 223db41

Please sign in to comment.