public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix missing refrigerator invocation in jffs2.
@ 2005-07-18  4:14 Nigel Cunningham
  2005-07-18 18:18 ` Jörn Engel
  0 siblings, 1 reply; 3+ messages in thread
From: Nigel Cunningham @ 2005-07-18  4:14 UTC (permalink / raw)
  To: Andrew Morton, jffs-dev, Linux Kernel Mailing List

Hi.

Here's a patch to fix a missing refrigerator call in jffs2.

Regards,

Nigel

Signed-off by: Nigel Cunningham <nigel@suspend2.net>

 intrep.c |    3 +++
 1 files changed, 3 insertions(+)
diff -ruNp 235-jffs-intrep.patch-old/fs/jffs/intrep.c 235-jffs-intrep.patch-new/fs/jffs/intrep.c
--- 235-jffs-intrep.patch-old/fs/jffs/intrep.c	2005-07-18 06:36:59.000000000 +1000
+++ 235-jffs-intrep.patch-new/fs/jffs/intrep.c	2005-07-18 14:02:27.000000000 +1000
@@ -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);

-- 
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.
Be amazed that people believe it happened. 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-19 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18  4:14 Fix missing refrigerator invocation in jffs2 Nigel Cunningham
2005-07-18 18:18 ` Jörn Engel
2005-07-19 12:13   ` Nigel Cunningham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox