X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fpdflush.c;h=c4b6d0afd73605cdc446a1cd9fc75aca8afb3693;hb=0f6c840d774d669baf4727c0499ab0674826429f;hp=52822c98c489c36bc30e24871eef936766b5c784;hpb=87199134b4a85de56a7508c551ab3b3a3ee35035;p=linux-2.6 diff --git a/mm/pdflush.c b/mm/pdflush.c index 52822c98c4..c4b6d0afd7 100644 --- a/mm/pdflush.c +++ b/mm/pdflush.c @@ -90,7 +90,7 @@ struct pdflush_work { static int __pdflush(struct pdflush_work *my_work) { - current->flags |= PF_FLUSHER; + current->flags |= PF_FLUSHER | PF_SWAPWRITE; my_work->fn = NULL; my_work->who = current; INIT_LIST_HEAD(&my_work->list);