btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl
[pandora-kernel.git] / fs / btrfs / inode.c
index 007d487..9a7efbe 100644 (file)
@@ -7475,7 +7475,7 @@ static const struct file_operations btrfs_dir_file_operations = {
        .readdir        = btrfs_real_readdir,
        .unlocked_ioctl = btrfs_ioctl,
 #ifdef CONFIG_COMPAT
-       .compat_ioctl   = btrfs_ioctl,
+       .compat_ioctl   = btrfs_compat_ioctl,
 #endif
        .release        = btrfs_release_file,
        .fsync          = btrfs_sync_file,