diff options
author | 2013-09-17 15:43:54 -0700 | |
---|---|---|
committer | 2013-09-21 11:05:31 -0400 | |
commit | cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0 (patch) | |
tree | fc3165c1469f1d201123cf579964f33bbe4b65a6 /fs/btrfs/dev-replace.c | |
parent | Btrfs: dir_inode_operations should use btrfs_update_time also (diff) | |
download | wireguard-linux-cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0.tar.xz wireguard-linux-cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0.zip |
btrfs: change extent-same to copy entire argument struct
btrfs_ioctl_file_extent_same() uses __put_user_unaligned() to copy some data
back to it's argument struct. Unfortunately, not all architectures provide
__put_user_unaligned(), so compiles break on them if btrfs is selected.
Instead, just copy the whole struct in / out at the start and end of
operations, respectively.
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions