mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
[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>
This commit is contained in:
parent
89bbc03c01
commit
54f67f631d
6 changed files with 218 additions and 240 deletions
|
@ -212,6 +212,7 @@ void ncp_date_unix2dos(int unix_date, __le16 * time, __le16 * date);
|
|||
|
||||
/* linux/fs/ncpfs/ioctl.c */
|
||||
int ncp_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
|
||||
long ncp_compat_ioctl(struct file *, unsigned int, unsigned long);
|
||||
|
||||
/* linux/fs/ncpfs/sock.c */
|
||||
int ncp_request2(struct ncp_server *server, int function,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue