Re: [PATCH] register_blkdev

Christoph Hellwig (hch@infradead.org)
Fri, 7 Mar 2003 19:06:49 +0000


On Fri, Mar 07, 2003 at 07:49:40PM +0100, Andries.Brouwer@cwi.nl wrote:
> The following patch does the following:
>
> - static const char *blkdevs[MAX_BLKDEV]; disappears
> - get_blkdev_list, (un)register_blkdev, __bdevname
> are moved from block_dev.c to genhd.c
> - the third "fops" parameter of register_blkdev was unused;
> now removed everywhere
> - zillions of places had printk("cannot get major") upon
> error return from register_blkdev; removed all of these
> and inserted a single printk in register_blkdev.

IMHO that's a bad change, (un)register_blkdev should just go away
completly.

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