Loading mm/pdflush.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -207,7 +207,6 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0) spin_lock_irqsave(&pdflush_lock, flags); spin_lock_irqsave(&pdflush_lock, flags); if (list_empty(&pdflush_list)) { if (list_empty(&pdflush_list)) { spin_unlock_irqrestore(&pdflush_lock, flags); ret = -1; ret = -1; } else { } else { struct pdflush_work *pdf; struct pdflush_work *pdf; Loading @@ -219,8 +218,9 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0) pdf->fn = fn; pdf->fn = fn; pdf->arg0 = arg0; pdf->arg0 = arg0; wake_up_process(pdf->who); wake_up_process(pdf->who); spin_unlock_irqrestore(&pdflush_lock, flags); } } spin_unlock_irqrestore(&pdflush_lock, flags); return ret; return ret; } } Loading Loading
mm/pdflush.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -207,7 +207,6 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0) spin_lock_irqsave(&pdflush_lock, flags); spin_lock_irqsave(&pdflush_lock, flags); if (list_empty(&pdflush_list)) { if (list_empty(&pdflush_list)) { spin_unlock_irqrestore(&pdflush_lock, flags); ret = -1; ret = -1; } else { } else { struct pdflush_work *pdf; struct pdflush_work *pdf; Loading @@ -219,8 +218,9 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0) pdf->fn = fn; pdf->fn = fn; pdf->arg0 = arg0; pdf->arg0 = arg0; wake_up_process(pdf->who); wake_up_process(pdf->who); spin_unlock_irqrestore(&pdflush_lock, flags); } } spin_unlock_irqrestore(&pdflush_lock, flags); return ret; return ret; } } Loading