Re: PATCH for 2.3.29: block device setup cleanup.

Andries.Brouwer@cwi.nl
Fri, 3 Dec 1999 15:41:09 +0100 (MET)


> The attached patch is an *absolute* prerequsite for any attempt
> to target the overuse of the kdev_t in the kernel ...

You combat an imaginary problem. What overuse?

- read_ahead[MAJOR(dev)] = arg;
+ blk_dev[MAJOR(dev)].read_ahead = arg;

You make ugly code even uglier. In my source that line reads

dev->majordev->read_ahead = arg;

You still do not want to view a kdev_t as a pointer
to a struct with information?

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/