mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] Fix missing refrigerator invocation in jffs2
Here's a patch to fix a missing refrigerator call in jffs2. Signed-off-by: Nigel Cunningham <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e50e7a99d
commit
ef2a701d44
1 changed files with 3 additions and 0 deletions
|
|
@ -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(¤t->sighand->siglock);
|
||||
signr = dequeue_signal(current, ¤t->blocked, &info);
|
||||
spin_unlock_irq(¤t->sighand->siglock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue