usbdevfs: move compat_ioctl handling to devio.c
authorArnd Bergmann <arnd@arndb.de>
Sat, 14 Nov 2009 01:28:05 +0000 (02:28 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2009 21:55:37 +0000 (22:55 +0100)
commit637e8a60a7aaf4ef7d46cfdf83bcfac9cf6f0fbd
tree5d50aaa8bcdf0b5f9af5c24ff6adcdb9d482cd9c
parent3695669cd4f5fb6d569fd4243312c1b4a05bd5ce
usbdevfs: move compat_ioctl handling to devio.c

Half the compat_ioctl handling is in devio.c, the other
half is in fs/compat_ioctl.c. This moves everything into
one place for consistency.

As a positive side-effect, push down the BKL into the
ioctl methods.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: David Vrabel <david.vrabel@csr.com>
Cc: linux-usb@vger.kernel.org
drivers/usb/core/devio.c
fs/compat_ioctl.c
include/linux/usbdevice_fs.h