Commit ef2a701d authored by Nigel Cunningham's avatar Nigel Cunningham Committed by Linus Torvalds

[PATCH] Fix missing refrigerator invocation in jffs2

Here's a patch to fix a missing refrigerator call in jffs2.
Signed-off-by: default avatarNigel Cunningham <nigel@suspend2.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5e50e7a9
......@@ -3397,6 +3397,9 @@ jffs_garbage_collect_thread(void *ptr)
siginfo_t info;
unsigned long signr = 0;
if (try_to_freeze())
continue;
spin_lock_irq(&current->sighand->siglock);
signr = dequeue_signal(current, &current->blocked, &info);
spin_unlock_irq(&current->sighand->siglock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment