git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus/bugfixes' of git://xenbits.xensource.com/people/ianc/linux-2.6
[safe/jmp/linux-2.6]
/
lib
/
ratelimit.c
diff --git
a/lib/ratelimit.c
b/lib/ratelimit.c
index
b4cd24f
..
027a03f
100644
(file)
--- a/
lib/ratelimit.c
+++ b/
lib/ratelimit.c
@@
-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;