[PATCH] (7/25) Removing bogus arrays - ->part[].number
Each hd_struct used to have int number; in it. It's used _only_ in disk->part[0] - disk->part[n].number is never assigned/checked for any positive n. Moved from hd_struct to gendisk (disk->part[0].number to disk->number).
Showing
Please register or sign in to comment