Skip to content
Commit 789f0f89 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

compat_ioctl: simplify calling of handlers



The compat_ioctl array now contains only entries for ioctl numbers
that do not require a separate handler. By special-casing the
ULONG_IOCTL case in the do_ioctl_trans function, we can kill the
final use of a function pointer in the array.

   text    data     bss     dec     hex filename
   7539   13352    2080   22971    59bb before/fs/compat_ioctl.o
   7910    8552    2080   18542    486e after/fs/compat_ioctl.o

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 5a07ea0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment