mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: sct@redhat.com, gene.heskett@verizon.net, linux-kernel@vger.kernel.org
Subject: Re: journal aborted, system read-only
Date: Tue, 21 Sep 2004 02:53:56 -0700	[thread overview]
Message-ID: <20040921025356.38b2b550.akpm@osdl.org> (raw)
In-Reply-To: <20040921015020.7372faac.akpm@osdl.org>

Andrew Morton <akpm@osdl.org> wrote:
>
> This should fix.

scrub that, it hangs.  Third time lucky.

--- 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;
_


  reply	other threads:[~2004-09-21  9:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-12 15:28 Gene Heskett
2004-09-13 15:12 ` Stephen C. Tweedie
2004-09-14  1:14   ` Gene Heskett
2004-09-14  3:37   ` Gene Heskett
2004-09-14  9:37     ` Stephen C. Tweedie
2004-09-14 11:01       ` Gene Heskett
2004-09-16  5:03   ` Gene Heskett
2004-09-16 10:48     ` Stephen C. Tweedie
2004-09-16 13:21       ` Gene Heskett
2004-09-16  6:34   ` Valdis.Kletnieks
2004-09-16 13:36     ` Gene Heskett
2004-09-17 16:30       ` Valdis.Kletnieks
2004-09-17 17:19         ` Gene Heskett
2004-09-18  9:55           ` Martin Diehl
2004-09-21  8:50   ` Andrew Morton
2004-09-21  9:53     ` Andrew Morton [this message]
2004-09-21 14:37       ` Gene Heskett
2004-09-21 15:00         ` Gene Heskett
2004-09-21 14:14     ` Gene Heskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040921025356.38b2b550.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=gene.heskett@verizon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®