diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-10 09:57:25 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2013-12-12 16:13:02 +0100 |
commit | 700ff4f095d78af0998953e922e041d75254518b (patch) | |
tree | 62a52b7a6f5f2eaa91809a0cc5abeac44c4c3f4e /arch | |
parent | Btrfs: make sure we cleanup all reloc roots if error happens (diff) | |
download | linux-700ff4f095d78af0998953e922e041d75254518b.tar.xz linux-700ff4f095d78af0998953e922e041d75254518b.zip |
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 <dan.carpenter@oracle.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
cc: stable@vger.kernel.org
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions