Fix minor type issues
Address some minor type issues identified by sparse checker. Signed-off-by: Daniel J Blueman <daniel@quora.org>
This commit is contained in:

committed by
Josef Bacik

parent
0d2450abfa
commit
2eec6c8102
@@ -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))
|
||||
|
Reference in New Issue
Block a user