diff options
author | Mark Fasheh <mfasheh@suse.de> | 2013-09-17 15:43:54 -0700 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-21 11:05:31 -0400 |
commit | cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0 (patch) | |
tree | fc3165c1469f1d201123cf579964f33bbe4b65a6 /kernel/freezer.c | |
parent | 93fd63c2f001ca6797c6b15b696a484b165b4800 (diff) |
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 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions