X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=mm%2Fpdflush.c;fp=mm%2Fpdflush.c;h=b02102feeb4be03d346583f2c81c8e7aba4e3ed8;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=4842716d128cff36503d3f0ae36d851f1d508360;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/mm/pdflush.c b/mm/pdflush.c index 4842716d1..b02102fee 100644 --- a/mm/pdflush.c +++ b/mm/pdflush.c @@ -201,8 +201,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)) {