diff options
author | Daniel J Blueman <daniel@quora.org> | 2012-04-26 00:37:14 +0800 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2012-05-30 10:23:30 -0400 |
commit | 2eec6c8102c62c540c637176271cfdb13d828d7b (patch) | |
tree | 35b32d27bf50122b8f89385940fb8c7a4926343b /fs/btrfs/ioctl.c | |
parent | 0d2450abfa359ff94a2bee64a7daeba68c346c81 (diff) |
Fix minor type issues
Address some minor type issues identified by sparse checker.
Signed-off-by: Daniel J Blueman <daniel@quora.org>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index fccde7402cf..9ebb2c7145a 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -2916,7 +2916,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)) |