[PATCH] better prototypes for mtd_blktrans_ops methods

David Woodhouse dwmw2 at infradead.org
Tue Jun 24 05:14:19 EDT 2003


On Sun, 2003-06-22 at 19:31, Christoph Hellwig wrote:
> ->open and ->release lose the totally pointless inode and file
> arguments, ->ioctl gets replaced by ->getgeo and ->flush, removing
> duplicated code from the individual drivers and avoiding to sneak
> more ioctl mess.. :)

Cute, thanks. I've changed it around a bit so the ->getgeo() methods
don't actually write to userspace, and the core mtd_blkdevs code fills
in the partition start sector appropriately too. It's in Linus' tree as
of last night.

-- 
dwmw2




More information about the linux-mtd mailing list