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

From: Arnd Bergmann
Date: Tue Jul 04 2006 - 23:20:21 EST


Am Wednesday 21 June 2006 21:31 schrieb Alasdair G Kergon:
>  static struct block_device_operations dm_blk_dops = {
>         .open = dm_blk_open,
>         .release = dm_blk_close,
> +       .ioctl = dm_blk_ioctl,
>         .getgeo = dm_blk_getgeo,
>         .owner = THIS_MODULE

I guess this also needs a ->compat_ioctl method, otherwise it won't
work for ioctl numbers that have a compat_ioctl implementation in the
low-level device driver.

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