autofs/autofs4: Move compat_ioctl handling into fs
authorArnd Bergmann <arnd@arndb.de>
Sat, 3 Jul 2010 22:15:07 +0000 (00:15 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 8 Aug 2010 22:13:34 +0000 (00:13 +0200)
commitc9243f5bdd6637b2bb7dc254b54d9edf957ef17e
tree254c0733f9d547651f467ed6502c7335804eaaf8
parent86a5ef7d777cdd61dfe82379d559dbea069aea3d
autofs/autofs4: Move compat_ioctl handling into fs

Handling of autofs ioctl numbers does not need to be generic
and can easily be done directly in autofs itself.

This also pushes the BKL into autofs and autofs4 ioctl
methods.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ian Kent <raven@themaw.net>
Cc: Autofs <autofs@linux.kernel.org>
Cc: John Kacur <jkacur@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
fs/autofs/root.c
fs/autofs4/root.c
fs/compat_ioctl.c
include/linux/auto_fs.h