fix user annotation in ioctl.c
commit13f2696f1da9700d401db0ac2bc27ebc17068b22
authorDaniel J Blueman <daniel.blueman@gmail.com>
Mon, 11 Apr 2011 15:56:31 +0000 (11 15:56 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 12 Apr 2011 00:25:46 +0000 (11 20:25 -0400)
treefa7e518f896ed8f69da76b0feb33867a73aa2cce
parenta1b75f7d961955e697ec377f90115e3517df98f9
fix user annotation in ioctl.c

Fix address space annotation correct in ioctl.c.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
         BTRFS_BLOCK_GROUP_SYSTEM,
@@ -2387,7 +2387,7 @@ long btrfs_ioctl_space_info(struct btrfs_root
*root, void __user *arg)
  up_read(&info->groups_sem);
  }

- user_dest = (struct btrfs_ioctl_space_info *)
+ user_dest = (struct btrfs_ioctl_space_info __user *)
  (arg + sizeof(struct btrfs_ioctl_space_args));

  if (copy_to_user(user_dest, dest_orig, alloc_size))
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c