Re: journal aborted, system read-only

From: Gene Heskett
Date: Tue Sep 21 2004 - 09:38:32 EST


On Tuesday 21 September 2004 05:53, Andrew Morton wrote:
>Andrew Morton <akpm@xxxxxxxx> wrote:
>> This should fix.
>
>scrub that, it hangs. Third time lucky.
>
Stopped "makeit", patch this up by hand, started again. Thanks
Andrew.

>--- 25/kernel/wait.c~wait_on_bit-must-loop 2004-09-21
> 01:57:14.000000000 -0700 +++ 25-akpm/kernel/wait.c 2004-09-21
> 02:48:18.596420024 -0700 @@ -157,7 +157,7 @@
> __wait_on_bit(wait_queue_head_t *wq, str int ret = 0;
>
> prepare_to_wait(wq, &q->wait, mode);
>- if (test_bit(q->key.bit_nr, q->key.flags))
>+ while (test_bit(q->key.bit_nr, q->key.flags) && !ret)
> ret = (*action)(q->key.flags);
> finish_wait(wq, &q->wait);
> return ret;
>_

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/