Re: Fix missing refrigerator invocation in jffs2.

2005-07-19 Thread Nigel Cunningham
Hi.

On Tue, 2005-07-19 at 04:18, Jörn Engel wrote:
> On Mon, 18 July 2005 14:14:53 +1000, Nigel Cunningham wrote:
> > 
> > Here's a patch to fix a missing refrigerator call in jffs2.
>^
> You should shorten the description by one letter, roughly. ;)

Oh oops! Sorry!

Nigel

> > 
> > Signed-off by: Nigel Cunningham <[EMAIL PROTECTED]>
> > 
> >  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.0 +1000
> > +++ 235-jffs-intrep.patch-new/fs/jffs/intrep.c  2005-07-18 
> > 14:02:27.0 +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(>sighand->siglock);
> > signr = dequeue_signal(current, >blocked, 
> > );
> > spin_unlock_irq(>sighand->siglock);
> > 
> > -- 
> > Evolution.
> > Enumerate the requirements.
> > Consider the interdependencies.
> > Calculate the probabilities.
> > Be amazed that people believe it happened. 
> > 
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to [EMAIL PROTECTED]
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> 
> Jörn
-- 
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Fix missing refrigerator invocation in jffs2.

2005-07-19 Thread Nigel Cunningham
Hi.

On Tue, 2005-07-19 at 04:18, Jörn Engel wrote:
 On Mon, 18 July 2005 14:14:53 +1000, Nigel Cunningham wrote:
  
  Here's a patch to fix a missing refrigerator call in jffs2.
^
 You should shorten the description by one letter, roughly. ;)

Oh oops! Sorry!

Nigel

  
  Signed-off by: Nigel Cunningham [EMAIL PROTECTED]
  
   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.0 +1000
  +++ 235-jffs-intrep.patch-new/fs/jffs/intrep.c  2005-07-18 
  14:02:27.0 +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. 
  
  -
  To unsubscribe from this list: send the line unsubscribe linux-kernel in
  the body of a message to [EMAIL PROTECTED]
  More majordomo info at  http://vger.kernel.org/majordomo-info.html
  Please read the FAQ at  http://www.tux.org/lkml/
 
 Jörn
-- 
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Fix missing refrigerator invocation in jffs2.

2005-07-18 Thread Jörn Engel
On Mon, 18 July 2005 14:14:53 +1000, Nigel Cunningham wrote:
> 
> Here's a patch to fix a missing refrigerator call in jffs2.
   ^
You should shorten the description by one letter, roughly. ;)

> 
> Signed-off by: Nigel Cunningham <[EMAIL PROTECTED]>
> 
>  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.c2005-07-18 
> 06:36:59.0 +1000
> +++ 235-jffs-intrep.patch-new/fs/jffs/intrep.c2005-07-18 
> 14:02:27.0 +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(>sighand->siglock);
>   signr = dequeue_signal(current, >blocked, 
> );
>   spin_unlock_irq(>sighand->siglock);
> 
> -- 
> Evolution.
> Enumerate the requirements.
> Consider the interdependencies.
> Calculate the probabilities.
> Be amazed that people believe it happened. 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

Jörn

-- 
A quarrel is quickly settled when deserted by one party; there is
no battle unless there be two.
-- Seneca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Fix missing refrigerator invocation in jffs2.

2005-07-18 Thread Jörn Engel
On Mon, 18 July 2005 14:14:53 +1000, Nigel Cunningham wrote:
 
 Here's a patch to fix a missing refrigerator call in jffs2.
   ^
You should shorten the description by one letter, roughly. ;)

 
 Signed-off by: Nigel Cunningham [EMAIL PROTECTED]
 
  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.c2005-07-18 
 06:36:59.0 +1000
 +++ 235-jffs-intrep.patch-new/fs/jffs/intrep.c2005-07-18 
 14:02:27.0 +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. 
 
 -
 To unsubscribe from this list: send the line unsubscribe linux-kernel in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/

Jörn

-- 
A quarrel is quickly settled when deserted by one party; there is
no battle unless there be two.
-- Seneca
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/