[PATCH] create /proc/ide/hdX/capacity only once
In ide_register_subdriver() create drive->proc entries only if driver is not idedefault_driver. [ There won't be /proc/ide/hdX/capacity for devices attached to idedefault_driver now, it reported 0x7fffffff previously. ] Do not create drive->proc entries in create_proc_ide_drives(), they are added later in ide_register_subdriver().
Showing
Please register or sign in to comment