diff options
author | Petr Vandrovec <petr@vandrovec.name> | 2006-10-01 02:27:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:23 -0400 |
commit | 54f67f631dfc25ca7a8b19200e34013abc974337 (patch) | |
tree | 96c481c2723e1f5f626110c9a7f1c4a07b9ee056 /fs/ncpfs/file.c | |
parent | 89bbc03c01f68e627a2b120963f136e2815f0d84 (diff) |
[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/file.c')
-rw-r--r-- | fs/ncpfs/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ncpfs/file.c b/fs/ncpfs/file.c index e6b7c67cf057..df37524b85db 100644 --- a/fs/ncpfs/file.c +++ b/fs/ncpfs/file.c | |||
@@ -289,6 +289,9 @@ const struct file_operations ncp_file_operations = | |||
289 | .read = ncp_file_read, | 289 | .read = ncp_file_read, |
290 | .write = ncp_file_write, | 290 | .write = ncp_file_write, |
291 | .ioctl = ncp_ioctl, | 291 | .ioctl = ncp_ioctl, |
292 | #ifdef CONFIG_COMPAT | ||
293 | .compat_ioctl = ncp_compat_ioctl, | ||
294 | #endif | ||
292 | .mmap = ncp_mmap, | 295 | .mmap = ncp_mmap, |
293 | .release = ncp_release, | 296 | .release = ncp_release, |
294 | .fsync = ncp_fsync, | 297 | .fsync = ncp_fsync, |