[openib-general] ioctl and send_agents

Michael Arndt michael.arndt at informatik.tu-chemnitz.de
Sun Jan 14 03:14:12 PST 2007


Hi,


>> shouldn't there be a call like unlocked_ioctl or compat_ioctl like
>> defined in this module?
>
> In user_mad.c, both unlocked/compat_ioctl are defined:
>
> static struct file_operations umad_fops = {
>        .owner          = THIS_MODULE,
>        .read           = ib_umad_read,
>        .write          = ib_umad_write,
>        .poll           = ib_umad_poll,
>        .unlocked_ioctl = ib_umad_ioctl,
>        .compat_ioctl   = ib_umad_ioctl,
>        .open           = ib_umad_open,
>        .release        = ib_umad_close
> };

Thanks for the help. I have overlooked a patch where unlocked_ioctl and 
compat_ioctl is replaced by ioctl in the struct above.

Thanks Michael





More information about the general mailing list