diff options
author | Petr Vandrovec <petr@vandrovec.name> | 2006-10-01 08:27:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:23 +0200 |
commit | 54f67f631dfc25ca7a8b19200e34013abc974337 (patch) | |
tree | 96c481c2723e1f5f626110c9a7f1c4a07b9ee056 /fs/ncpfs/dir.c | |
parent | [PATCH] Prevent multiple inclusion of linux/sysrq.h (diff) | |
download | linux-54f67f631dfc25ca7a8b19200e34013abc974337.tar.xz linux-54f67f631dfc25ca7a8b19200e34013abc974337.zip |
[PATCH] Move ncpfs 32bit compat ioctl to ncpfs
The ncp specific compat ioctls are clearly local to one file system, so the
code can better live there.
This version of the patch moves everything into the generic ioctl handler
and uses it for both 32 and 64 bit calls.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ncpfs/dir.c')
-rw-r--r-- | fs/ncpfs/dir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index b4ee89250e95..458b3b785194 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c @@ -53,6 +53,9 @@ const struct file_operations ncp_dir_operations = .read = generic_read_dir, .readdir = ncp_readdir, .ioctl = ncp_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = ncp_compat_ioctl, +#endif }; struct inode_operations ncp_dir_inode_operations = |