diff options
author | Roland Dreier <roland@eddore.topspincom.com> | 2005-07-27 22:12:56 -0400 |
---|---|---|
committer | Roland Dreier <roland@eddore.topspincom.com> | 2005-07-27 22:12:56 -0400 |
commit | 2868bd281fef21d1e73d6b7648a41efc3d75f10c (patch) | |
tree | 0ad821cfcc9e3f9e8b662d026bec6bb6d4ce69ac /fs/jffs/intrep.c | |
parent | 6d376756f2cf3478d5a4fdb8d18e958948366b9d (diff) | |
parent | 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af (diff) |
Merge /scratch/Ksrc/linux-git/
Diffstat (limited to 'fs/jffs/intrep.c')
-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) | |||
3397 | siginfo_t info; | 3397 | siginfo_t info; |
3398 | unsigned long signr = 0; | 3398 | unsigned long signr = 0; |
3399 | 3399 | ||
3400 | if (try_to_freeze()) | ||
3401 | continue; | ||
3402 | |||
3400 | spin_lock_irq(¤t->sighand->siglock); | 3403 | spin_lock_irq(¤t->sighand->siglock); |
3401 | signr = dequeue_signal(current, ¤t->blocked, &info); | 3404 | signr = dequeue_signal(current, ¤t->blocked, &info); |
3402 | spin_unlock_irq(¤t->sighand->siglock); | 3405 | spin_unlock_irq(¤t->sighand->siglock); |