[lkml]   [2002]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: struct gendisk max_p gone in 2.5.x
> The max_p member 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 .

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:23    [W:0.021 / U:5.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site