> no one seems to have noticed
Don't worry. The set of people who noticed was nonempty.
On the other hand, in my tree:
static inline unsigned int disk_index (kdev_t dev)
{
struct gendisk *g = get_gendisk(dev);
return g ? (MINOR(dev) >> g->minor_shift) : 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/