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

Andi Kleen
2004-09-08T06:54:54Z

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

Probably historical reasons. The ioctls used to be not merged.
>
> It is as far as I can see returning simply loff_t which is 64 bit
> on all architectures.

It could be moved into the generic layer, I agree.

-Andi