From: Anton Blanchard <anton@samba.org>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: [PATCH] 2.5 fix for > 25 disks
Date: Thu, 12 Dec 2002 20:33:34 +1100 [thread overview]
Message-ID: <20021212093334.GA30312@krispykreme> (raw)
Hi,
2.5 currently tries to register disk sda twice. Not nice and now we use
sysfs to do name to dev_t mapping, I couldnt mount my root filesystem.
Anton
===== drivers/scsi/sd.c 1.96 vs edited =====
--- 1.96/drivers/scsi/sd.c Sat Nov 30 09:56:42 2002
+++ edited/drivers/scsi/sd.c Thu Dec 12 20:19:12 2002
@@ -1217,7 +1217,7 @@
gd->minors = 16;
gd->fops = &sd_fops;
- if (index > 26) {
+ if (index >= 26) {
sprintf(gd->disk_name, "sd%c%c",
'a' + index/26-1,'a' + index % 26);
} else {
reply other threads:[~2002-12-12 9:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021212093334.GA30312@krispykreme \
--to=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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