[PATCH 8/9] mtd: Allow mtd block device drivers to have a custom ioctl function

Arnd Bergmann arnd at arndb.de
Sun Mar 4 09:20:42 EST 2007


On Friday 02 March 2007 16:55:02 Richard Purdie wrote:
> Allow mtd block drivers to customise their ioctl functions. Also
> allow the drivers to obtain the gendisk struct since ioctl
> functions can need this.

Are you sure that this is a good idea? I'd rather not open
up this method of letting the individual drivers to bad things.

> This also moves the mtd ioctl functions from locked to unlocked.
> As far as I can see, nothing in the mtd code has locking problems.

This part looks fine to me.

	Arnd <><




More information about the linux-mtd mailing list