Re: [PATCH] alternative dev patch

From: Christoph Hellwig (hch@infradead.org)
Date: Sun Mar 23 2003 - 03:30:34 EST


On Sun, Mar 23, 2003 at 12:19:56AM -0800, Greg KH wrote:
> Look at drivers/usb/core/file.c::usb_open(), it does much the same
> thing. Well, functionally the same, not identical in any way :)

And sound (well, not actually ranges), input, v4l, tty, etc..
->i_cdev together with char device probes would have solved that nicely
and without the linear list serach in ->open that we got now, which will
bite us much more once 32bit dev_ts are actually used.

-
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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:43 EST