Messages in this thread | | | Date | Wed, 15 Dec 2004 18:59:30 +0100 | From | Andi Kleen <> | Subject | Re: unregister_ioctl32_conversion and modules. ioctl32 revisited. |
| |
> Hmm. I just had another idea. Maybe it's easier to return -ENOIOCTLCMD > from ->ioctl_compat() in order to get back to the hash lookup. How > about the change below?
Looks good too to me.
-Andi
> > Arnd <>< > > --- mst/fs/compat.c > +++ arnd/fs/compat.c > @@ somewhere in compat_sys_ioctl() @@ > else if (filp->f_op && filp->f_op->ioctl_compat) { > error = filp->f_op->ioctl_compat(filp->f_dentry->d_inode, > filp, cmd, arg); > - goto out; > + if (error != -ENOIOCTLCMD) > + goto out; > } > > >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |