diff options
author | 2017-09-27 10:43:13 -0400 | |
---|---|---|
committer | 2017-10-30 12:27:59 +0100 | |
commit | 2351f431f727223b4d82851ee8fc045bf51edd34 (patch) | |
tree | b44303a30a67acab41bb0a43f03e2b118fabf7ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: fix use of error or warning for missing device (diff) | |
download | linux-dev-2351f431f727223b4d82851ee8fc045bf51edd34.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions