aboutsummaryrefslogtreecommitdiffstats
path: root/mm/pdflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/pdflush.c')
-rw-r--r--mm/pdflush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/pdflush.c b/mm/pdflush.c
index 8ce0900dc95c..8f6ee073c0e3 100644
--- a/mm/pdflush.c
+++ b/mm/pdflush.c
@@ -92,6 +92,7 @@ struct pdflush_work {
92static int __pdflush(struct pdflush_work *my_work) 92static int __pdflush(struct pdflush_work *my_work)
93{ 93{
94 current->flags |= PF_FLUSHER | PF_SWAPWRITE; 94 current->flags |= PF_FLUSHER | PF_SWAPWRITE;
95 set_freezable();
95 my_work->fn = NULL; 96 my_work->fn = NULL;
96 my_work->who = current; 97 my_work->who = current;
97 INIT_LIST_HEAD(&my_work->list); 98 INIT_LIST_HEAD(&my_work->list);