Re: [PATCH] register_blkdev

Greg KH
2003-03-08T19:28:46Z

On Sat, Mar 08, 2003 at 07:34:07AM +0000, Christoph Hellwig wrote:
> On Fri, Mar 07, 2003 at 04:53:33PM -0800, Greg KH wrote:
> > driver asks for a major, today it only thinks it has 256 minors, so that
> > number is usually hard coded in an array. If a open() happens on a
> > minor outside that range, the driver will die a horrible death, right?
>
> Yes. That's why the character device code should get a similar massaging
> as the block layer code got in 2.5. But I don't really see this happen
> in the 2.6 timeframe, especially given that there are a lot more character
> than block drivers.

I agree, I thought this was a 2.7 change, but it's looking like people
want this change sooner :)

greg k-h