Is FIOQSIZE compatible? ( was Re: f_ops flag to speed up compatible ioctls in linux kernel)

Michael S. Tsirkin
2004-09-07T21:42:44Z

Hello!
Quoting r. Andi Kleen (ak@suse.de) "Re: [discuss] f_ops flag to speed up compatible ioctls in linux kernel":
> On Tue, Sep 07, 2004 at 05:45:43PM +0300, Michael S. Tsirkin wrote:
> > > > > but I cannot think of a good alternative.
> > > > >
> > > >
> > > > Maybe one entry point with a flag?
> > >
> > > That would be IMHO far uglier than two.
> > >
> > > -Andi
> > >
> >
> > What would be a good name? ioctl32/ioctl64? ioctl_compat/ioctl_native?
>
> Later two sound ok to me.
>
> -Andi

Why is FIOQSIZE in arch/x86_64/ia32/ia32_ioctl.c and not in
include/linux/compat_ioctl.h ?

It is as far as I can see returning simply loff_t which is 64 bit
on all architectures.

Thanks,
MST