• Bartlomiej Zolnierkiewicz's avatar
    [PATCH] create /proc/ide/hdX/capacity only once · a25e0bcd
    Bartlomiej Zolnierkiewicz authored
    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().
    a25e0bcd
ide-proc.c 23.4 KB