struct gendisk max_p gone in 2.5.x
Quoted 3 lines
The
max_pmember of struct gendisk was deleted in 2.5.x. Is there a different preferred method for partition detection code to know the maximum number of partitions it's allowed to present?
Instead of using g->max_p you can use 1<<g->minor_shift .
Andries