[PATCH] Fix missing refrigerator invocation in jffs2

Here's a patch to fix a missing refrigerator call in jffs2.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Nigel Cunningham 2005-07-27 11:43:36 -07:00 committed by Linus Torvalds
parent 5e50e7a99d
commit ef2a701d44

View File

@ -3397,6 +3397,9 @@ jffs_garbage_collect_thread(void *ptr)
siginfo_t info; siginfo_t info;
unsigned long signr = 0; unsigned long signr = 0;
if (try_to_freeze())
continue;
spin_lock_irq(&current->sighand->siglock); spin_lock_irq(&current->sighand->siglock);
signr = dequeue_signal(current, &current->blocked, &info); signr = dequeue_signal(current, &current->blocked, &info);
spin_unlock_irq(&current->sighand->siglock); spin_unlock_irq(&current->sighand->siglock);