diff options
author | Josef Bacik <josef@toxicpanda.com> | 2017-09-27 10:43:13 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 12:27:59 +0100 |
commit | 2351f431f727223b4d82851ee8fc045bf51edd34 (patch) | |
tree | b44303a30a67acab41bb0a43f03e2b118fabf7ca /CREDITS | |
parent | 2b902dfc896ffab875842ed62820dca0b99ff461 (diff) | |
download | linux-2351f431f727223b4d82851ee8fc045bf51edd34.tar.gz linux-2351f431f727223b4d82851ee8fc045bf51edd34.tar.bz2 linux-2351f431f727223b4d82851ee8fc045bf51edd34.zip |
btrfs: fix send ioctl on 32bit with 64bit kernel
We pass in a pointer in our send arg struct, this means the struct size
doesn't match with 32bit user space and 64bit kernel space. Fix this by
adding a compat mode and doing the appropriate conversion.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ move structure to the beginning, next to receive 32bit compat ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions