mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Tomas <bzzz@tmi.comex.ru>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH] for 2.5.50, sysfs works wrong in some cases
Date: 05 Dec 2002 18:27:57 +0300	[thread overview]
Message-ID: <m3n0nk1o5e.fsf@lexa.home.net> (raw)


Hello!

I've just found that 2.5.50 can't open root device specified in
'root=/dev/sda3' form. As for me, following patch solves problem:

--- vanilla/linux-2.5.50/drivers/block/genhd.c  Mon Nov 11 06:28:13 2002
+++ linux-2.5.50/drivers/block/genhd.c  Thu Dec  5 18:17:27 2002
@@ -408,7 +408,6 @@
                disk->minors = minors;
                while (minors >>= 1)
                        disk->minor_shift++;
-               kobject_init(&disk->kobj);
                disk->kobj.subsys = &block_subsys;
                INIT_LIST_HEAD(&disk->full_list);


kobject_init() will be called from kobject_register().


with best, regards


                 reply	other threads:[~2002-12-05 15:25 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=m3n0nk1o5e.fsf@lexa.home.net \
    --to=bzzz@tmi.comex.ru \
    --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

all inboxes | Powered by JetHome®