lkml.org 
[lkml]   [2008]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: system fails to boot
Alexey Dobriyan wrote:
>> Would you like to accept the kernel patch into your testing tree? Pls. do CC to me when replying
>> as I couldn't subscribe LKML emails now.
>>
>> ---
>>
>> --- linux-2.6.28-rc4/block/genhd.c 2008-11-11 08:37:24.000000000 +0800
>> +++ linux-2.6.28-rc4_label/block/genhd.c 2008-11-13 04:05:35.000000000 +0800
>> @@ -1028,6 +1028,7 @@ static int __init proc_genhd_init(void)
>> {
>> proc_create("diskstats", 0, NULL, &proc_diskstats_operations);
>> proc_create("partitions", 0, NULL, &proc_partitions_operations);
>> + register_blkdev(BLOCK_EXT_MAJOR, "blkext");
>> return 0;
>> }
>> module_init(proc_genhd_init);
>
> It's procfs-specific init, what's up?

Ah... right, better to move it to genhd_device_init(). Thanks.

--
tejun


\
 
 \ /
  Last update: 2008-11-14 07:25    [W:0.067 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site