[PATCH] Move ncpfs 32bit compat ioctl to ncpfs
[powerpc.git] / fs / ncpfs / dir.c
index b4ee892..458b3b7 100644 (file)
@@ -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 =