nilfs2: add compat ioctl
[linux.git] / fs / nilfs2 / dir.c
index b72833a2cc1c34b1b77efd1a70cf9279ace69c83..3a1923943b14c9300bd8af952451efa86177c09c 100644 (file)
@@ -681,7 +681,7 @@ const struct file_operations nilfs_dir_operations = {
        .readdir        = nilfs_readdir,
        .unlocked_ioctl = nilfs_ioctl,
 #ifdef CONFIG_COMPAT
-       .compat_ioctl   = nilfs_ioctl,
+       .compat_ioctl   = nilfs_compat_ioctl,
 #endif /* CONFIG_COMPAT */
        .fsync          = nilfs_sync_file,