On Wednesday 05 January 2011 03:11:36 Shaohua Li wrote:
quoted
Did you notice the comment above the function? ;-)
You should really add the new ioctls to compat_sys_ioctl, not
to the COMPATIBLE_IOCTL() list, in order to make the behavior
consistent between 32 and 64 bit user space. The main difference
is that all ioctl commands that are hardcoded in the functions
get called before trying to call the file system specific
.ioctl method.
Thanks, fixed them.
The patch you posted still uses COMPATIBLE_IOCTL. Wrong patch?
Arnd