diff options
author | Hugo Mills <hugo@carfax.org.uk> | 2014-01-30 20:17:00 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2014-03-10 15:15:40 -0400 |
commit | abccd00f8af27c585be48904515bad5658130e48 (patch) | |
tree | 123068ed0cc192d6a719a98ad94f422d4aef1f64 /security/keys | |
parent | d86477b303da51832002eec1cdec2938c42fccc3 (diff) | |
download | op-kernel-dev-abccd00f8af27c585be48904515bad5658130e48.zip op-kernel-dev-abccd00f8af27c585be48904515bad5658130e48.tar.gz |
btrfs: Fix 32/64-bit problem with BTRFS_SET_RECEIVED_SUBVOL ioctl
The structure for BTRFS_SET_RECEIVED_IOCTL packs differently on 32-bit
and 64-bit systems. This means that it is impossible to use btrfs
receive on a system with a 64-bit kernel and 32-bit userspace, because
the structure size (and hence the ioctl number) is different.
This patch adds a compatibility structure and ioctl to deal with the
above case.
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions