From: Jens Axboe <axboe@suse.de>
To: Bas Vermeulen <bvermeul@blackstar.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.1-pre8 oopses on non existing acorn partition
Date: Tue, 11 Dec 2001 12:25:09 +0100 [thread overview]
Message-ID: <20011211112509.GO13498@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0112110910350.1461-100000@laptop.blackstar.nl>
In-Reply-To: <Pine.LNX.4.33.0112110910350.1461-100000@laptop.blackstar.nl>
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
On Tue, Dec 11 2001, Bas Vermeulen wrote:
> 2.5.1-pre8 oopses in adfspart_check_ICS (probably the put_dev_sector,
> not entirely sure, since there doesn't seem to be anything wrong).
> I've enabled advanced partitions, and all the partition types.
> Disabling advanced partitions fixes it.
Please try attached patch.
--
Jens Axboe
[-- Attachment #2: acorn-part-1 --]
[-- Type: text/plain, Size: 451 bytes --]
--- /opt/kernel/linux-2.5.1-pre9/fs/partitions/acorn.c Mon Oct 1 23:03:26 2001
+++ fs/partitions/acorn.c Tue Dec 11 06:21:54 2001
@@ -162,12 +162,12 @@
struct adfs_discrecord *dr;
unsigned int nr_sects;
- if (!(minor & mask))
- break;
-
data = read_dev_sector(bdev, start_blk * 2 + 6, §);
if (!data)
return -1;
+
+ if (!(minor & mask))
+ break;
dr = adfs_partition(hd, name, data, first_sector, minor++);
if (!dr)
next prev parent reply other threads:[~2001-12-11 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 8:14 2.5.1-pre8 oopses on non existing acorn partition Bas Vermeulen
2001-12-11 11:25 ` Jens Axboe [this message]
2001-12-11 11:45 ` Jens Axboe
2001-12-12 11:49 ` bvermeul
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=20011211112509.GO13498@suse.de \
--to=axboe@suse.de \
--cc=bvermeul@blackstar.nl \
--cc=linux-kernel@vger.kernel.org \
/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