Re: ioctl cleanups: enable sg_io and serial stuff to be shared

David S. Miller (davem@redhat.com)
Wed, 07 May 2003 07:07:29 -0700 (PDT)


From: Jeff Garzik <jgarzik@pobox.com>
Date: Wed, 7 May 2003 11:12:03 -0400

On Wed, May 07, 2003 at 07:39:00AM -0700, David S. Miller wrote:
> On Wed, 2003-05-07 at 05:56, Christoph Hellwig wrote:
> > Btw, if you really want to move all the 32bit ioctl compat code to the
> > drivers a ->ioctl32 file operation might be the better choice..
>
> I can't believe I never thought of that. :-)

Likewise. That's a good idea...

But, of course, name it compat_ioctl() not ioctl32. The compat layer
is not only about 32-bit compatibility even though that is all that it
is used for currently.
-
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/