compat_ioctl: inline all conversion handlers
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 May 2009 22:04:16 +0000 (22:04 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2009 21:52:09 +0000 (22:52 +0100)
commit5a07ea0b97f206ed23a5850079b7f322e7730869
tree7de142305d8cae9bbee2c182cd7f1e4abcdc39cc
parent348c4b9078ba8d9bef2e453c7ded07fde4748c79
compat_ioctl: inline all conversion handlers

This makes all ioctl conversion handlers called from
a single switch statement, leaving only COMPATIBLE_IOCTL
and ULONG_IOCTL statements in the table. This is somewhat
more space efficient and also lets us simplify the
handling of the lookup table significantly.

before:
   text    data     bss     dec     hex filename
   7619   14024    2080   23723    5cab obj/fs/compat_ioctl.o
after:
   7567   13352    2080   22999    59d7 obj/fs/compat_ioctl.o

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c