Re: [PATCH 01/15] dm: support ioctls on mapped devices

From: Christoph Hellwig
Date: Fri Jun 23 2006 - 06:00:44 EST


On Thu, Jun 22, 2006 at 08:49:07PM -0700, Andrew Morton wrote:
> My head is spinning in a twisty maze of ioctls. What _should_ we call?
> file_operations.foo_ioctl() or block_device_operations.foo_ioctl() or
> blkdev_ioctl()?

Neither. The only valid way to perform ioctls on blockdevices from
kernelspace is ioctl_by_bdev.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/