btrfs: cast pointers to kernel_ureg_t instead of unsigned long

* btrfs.c (btrfs_ioctl): Cast btrfs_ioctl_send_args.clone_sources
and btrfs_ioctl_vol_args_v2.qgroup_inherit pointers to kernel_ureg_t
instead of unsigned long.
This commit is contained in:
Дмитрий Левин 2016-12-21 13:11:11 +00:00
parent c6d15a9b0d
commit 8afd294eb3

View File

@ -1216,7 +1216,7 @@ MPERS_PRINTER_DECL(int, btrfs_ioctl,
tprints("...");
else {
uint64_t record;
print_array(tcp, (unsigned long) args.clone_sources,
print_array(tcp, (kernel_ureg_t) args.clone_sources,
args.clone_sources_count,
&record, sizeof(record),
umoven_or_printaddr,
@ -1320,7 +1320,7 @@ MPERS_PRINTER_DECL(int, btrfs_ioctl,
(uint64_t) args.size);
btrfs_print_qgroup_inherit(tcp,
(unsigned long) args.qgroup_inherit);
(kernel_ureg_t) args.qgroup_inherit);
}
tprints(", name=");
print_quoted_string(args.name, sizeof(args.name),