Skip to content

Commit

Permalink
[PATCH] Fix missing refrigerator invocation in jffs2
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Nigel Cunningham authored and Linus Torvalds committed Jul 27, 2005
1 parent 5e50e7a commit ef2a701
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/jffs/intrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(&current->sighand->siglock);
signr = dequeue_signal(current, &current->blocked, &info);
spin_unlock_irq(&current->sighand->siglock);
Expand Down

0 comments on commit ef2a701

Please sign in to comment.