X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=mm%2Fpdflush.c;fp=mm%2Fpdflush.c;h=4842716d128cff36503d3f0ae36d851f1d508360;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=b02102feeb4be03d346583f2c81c8e7aba4e3ed8;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/mm/pdflush.c b/mm/pdflush.c index b02102fee..4842716d1 100644 --- a/mm/pdflush.c +++ b/mm/pdflush.c @@ -201,7 +201,8 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0) unsigned long flags; int ret = 0; - BUG_ON(fn == NULL); /* Hard to diagnose if it's deferred */ + if (fn == NULL) + BUG(); /* Hard to diagnose if it's deferred */ spin_lock_irqsave(&pdflush_lock, flags); if (list_empty(&pdflush_list)) {