The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Alex Romosan <romosan@adonis.lbl.gov>
Cc: linux-kernel@vger.kernel.org
Subject: Re: oops with 2.4.8-pre5
Date: Tue, 7 Aug 2001 22:17:46 +0200	[thread overview]
Message-ID: <20010807221746.G24336@suse.de> (raw)
In-Reply-To: <87bslrfx9n.fsf@adonis.lbl.gov>
In-Reply-To: <87bslrfx9n.fsf@adonis.lbl.gov>

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

On Tue, Aug 07 2001, Alex Romosan wrote:
> i got the following oops with kernel 2.4.8-pre5. i was just logged in
> remotely, reading email with gnus and maybe i had just run dselect
> (debian package installer):

This should fix it.

-- 
Jens Axboe


[-- Attachment #2: sync_old_buffers-1 --]
[-- Type: text/plain, Size: 439 bytes --]

--- /opt/kernel/linux-2.4.8-pre5/fs/buffer.c	Tue Aug  7 10:28:50 2001
+++ fs/buffer.c	Tue Aug  7 22:17:51 2001
@@ -2581,13 +2472,17 @@
 
 			spin_lock(&lru_list_lock);
 			bh = lru_list[BUF_DIRTY];
+			if (!bh)
+				break;
 			if (!time_before(jiffies, bh->b_flushtime))
 				continue;
 			spin_unlock(&lru_list_lock);
 		}
 		run_task_queue(&tq_disk);
-		return 0;
+		break;
 	}
+
+	return 0;
 }
 
 int block_sync_page(struct page *page)

  reply	other threads:[~2001-08-07 20:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-07 20:08 oops with 2.4.8-pre5 Alex Romosan
2001-08-07 20:17 ` Jens Axboe [this message]
2001-08-07 20:29   ` Jens Axboe
2001-08-07 20:31     ` Jens Axboe

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=20010807221746.G24336@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=romosan@adonis.lbl.gov \
    /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