projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] More BUG_ON conversion
[linux-2.6-block.git]
/
mm
/
pdflush.c
diff --git
a/mm/pdflush.c
b/mm/pdflush.c
index c4b6d0afd73605cdc446a1cd9fc75aca8afb3693..df7e50b8f70c1350a404d446a62e0845b6235bf1 100644
(file)
--- a/
mm/pdflush.c
+++ b/
mm/pdflush.c
@@
-202,8
+202,7
@@
int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0)
unsigned long flags;
int ret = 0;
- if (fn == NULL)
- BUG(); /* Hard to diagnose if it's deferred */
+ BUG_ON(fn == NULL); /* Hard to diagnose if it's deferred */
spin_lock_irqsave(&pdflush_lock, flags);
if (list_empty(&pdflush_list)) {