commit | 2351f431f727223b4d82851ee8fc045bf51edd34 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Wed Sep 27 10:43:13 2017 -0400 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:27:59 2017 +0100 |
tree | b44303a30a67acab41bb0a43f03e2b118fabf7ca | |
parent | 2b902dfc896ffab875842ed62820dca0b99ff461 [diff] |
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>