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 /include/linux | |
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 'include/linux')
-rw-r--r-- | include/linux/compat_ioctl.h | 12 | ||||
-rw-r--r-- | include/linux/ncp_fs.h | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h index d61ef5951538..d5b7abc4f409 100644 --- a/include/linux/compat_ioctl.h +++ b/include/linux/compat_ioctl.h | |||
@@ -569,18 +569,6 @@ COMPATIBLE_IOCTL(RAW_SETBIND) | |||
569 | COMPATIBLE_IOCTL(RAW_GETBIND) | 569 | COMPATIBLE_IOCTL(RAW_GETBIND) |
570 | /* SMB ioctls which do not need any translations */ | 570 | /* SMB ioctls which do not need any translations */ |
571 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) | 571 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) |
572 | /* NCP ioctls which do not need any translations */ | ||
573 | COMPATIBLE_IOCTL(NCP_IOC_CONN_LOGGED_IN) | ||
574 | COMPATIBLE_IOCTL(NCP_IOC_SIGN_INIT) | ||
575 | COMPATIBLE_IOCTL(NCP_IOC_SIGN_WANTED) | ||
576 | COMPATIBLE_IOCTL(NCP_IOC_SET_SIGN_WANTED) | ||
577 | COMPATIBLE_IOCTL(NCP_IOC_LOCKUNLOCK) | ||
578 | COMPATIBLE_IOCTL(NCP_IOC_GETROOT) | ||
579 | COMPATIBLE_IOCTL(NCP_IOC_SETROOT) | ||
580 | COMPATIBLE_IOCTL(NCP_IOC_GETCHARSETS) | ||
581 | COMPATIBLE_IOCTL(NCP_IOC_SETCHARSETS) | ||
582 | COMPATIBLE_IOCTL(NCP_IOC_GETDENTRYTTL) | ||
583 | COMPATIBLE_IOCTL(NCP_IOC_SETDENTRYTTL) | ||
584 | /* Little a */ | 572 | /* Little a */ |
585 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) | 573 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) |
586 | COMPATIBLE_IOCTL(ATMARPD_CTRL) | 574 | COMPATIBLE_IOCTL(ATMARPD_CTRL) |
diff --git a/include/linux/ncp_fs.h b/include/linux/ncp_fs.h index 02e352be717e..0ea7f89e613c 100644 --- a/include/linux/ncp_fs.h +++ b/include/linux/ncp_fs.h | |||
@@ -212,6 +212,7 @@ void ncp_date_unix2dos(int unix_date, __le16 * time, __le16 * date); | |||
212 | 212 | ||
213 | /* linux/fs/ncpfs/ioctl.c */ | 213 | /* linux/fs/ncpfs/ioctl.c */ |
214 | int ncp_ioctl(struct inode *, struct file *, unsigned int, unsigned long); | 214 | int ncp_ioctl(struct inode *, struct file *, unsigned int, unsigned long); |
215 | long ncp_compat_ioctl(struct file *, unsigned int, unsigned long); | ||
215 | 216 | ||
216 | /* linux/fs/ncpfs/sock.c */ | 217 | /* linux/fs/ncpfs/sock.c */ |
217 | int ncp_request2(struct ncp_server *server, int function, | 218 | int ncp_request2(struct ncp_server *server, int function, |