diff options
author | Nigel Cunningham <ncunningham@cyclades.com> | 2005-07-27 18:43:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 23:25:49 (GMT) |
commit | ef2a701d444a4ea9790146e92756b0dde5070a15 (patch) | |
tree | d3567c63331ae94a2f818de55b6a37d1d551eb94 | |
parent | 5e50e7a99d04774506f4e1dee51afba37125cd3c (diff) | |
download | linux-fsl-qoriq-ef2a701d444a4ea9790146e92756b0dde5070a15.tar.xz |
[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>
-rw-r--r-- | fs/jffs/intrep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jffs/intrep.c b/fs/jffs/intrep.c index fc589dd..456d7e6 100644 --- a/fs/jffs/intrep.c +++ b/fs/jffs/intrep.c @@ -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); |