Re: [PATCH] wrong disk index in /proc/stat

From: Guest section DW (
Date: Mon Jun 25 2001 - 21:56:14 EST

On Mon, Jun 25, 2001 at 09:40:56PM +0200, Martin Wilck wrote:

> 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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:13 EST