Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189575
b: refs/heads/master
c: 57119c3
h: refs/heads/master
i:
  189573: efc68ac
  189571: 74aff87
  189567: 42eb74e
v: v3
  • Loading branch information
Yong Zhang authored and Linus Torvalds committed Apr 7, 2010
1 parent 1b9bb91 commit db39ae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: bb1dc0bacb8ddd7ba6a5906c678a5a5a110cf695
refs/heads/master: 57119c34e53bbb8d244c3ff1335ef5145768538f
2 changes: 1 addition & 1 deletion trunk/lib/ratelimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int ___ratelimit(struct ratelimit_state *rs, const char *func)
* the entity that is holding the lock already:
*/
if (!spin_trylock_irqsave(&rs->lock, flags))
return 1;
return 0;

if (!rs->begin)
rs->begin = jiffies;
Expand Down

0 comments on commit db39ae4

Please sign in to comment.