From: Dan Carpenter Date: Thu, 10 Jan 2013 08:57:25 +0000 (-0500) Subject: Btrfs: fix access_ok() check in btrfs_ioctl_send() X-Git-Tag: v3.13-rc4~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700ff4f095d78af0998953e922e041d75254518b;p=pandora-kernel.git Btrfs: fix access_ok() check in btrfs_ioctl_send() The closing parenthesis is in the wrong place. We want to check "sizeof(*arg->clone_sources) * arg->clone_sources_count" instead of "sizeof(*arg->clone_sources * arg->clone_sources_count)". Signed-off-by: Dan Carpenter Reviewed-by: Jie Liu Signed-off-by: Chris Mason cc: stable@vger.kernel.org --- Reading git-diff-tree failed