aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 1b15b43905f8..7ea2d6b1f170 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -6646,7 +6646,7 @@ long btrfs_ioctl_send(struct file *mnt_file, struct btrfs_ioctl_send_args *arg)
6646 goto out; 6646 goto out;
6647 } 6647 }
6648 6648
6649 if (!access_ok(VERIFY_READ, arg->clone_sources, 6649 if (!access_ok(arg->clone_sources,
6650 sizeof(*arg->clone_sources) * 6650 sizeof(*arg->clone_sources) *
6651 arg->clone_sources_count)) { 6651 arg->clone_sources_count)) {
6652 ret = -EFAULT; 6652 ret = -EFAULT;