diff options
author | Nigel Cunningham <ncunningham@cyclades.com> | 2005-07-27 11:43:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 16:25:49 -0700 |
commit | ef2a701d444a4ea9790146e92756b0dde5070a15 (patch) | |
tree | d3567c63331ae94a2f818de55b6a37d1d551eb94 /fs | |
parent | 5e50e7a99d04774506f4e1dee51afba37125cd3c (diff) |
[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>
Diffstat (limited to 'fs')
-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 fc589ddd0762..456d7e6e29c2 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); |