* [PATCH] for 2.5.50, sysfs works wrong in some cases
@ 2002-12-05 15:27 Alex Tomas
0 siblings, 0 replies; only message in thread
From: Alex Tomas @ 2002-12-05 15:27 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-05 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 15:27 [PATCH] for 2.5.50, sysfs works wrong in some cases Alex Tomas
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®