summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2013-09-17 15:43:54 -0700
committerChris Mason <chris.mason@fusionio.com>2013-09-21 11:05:31 -0400
commitcbf8b8ca3ec799c11a4cbb29d812d84adf2990b0 (patch)
treefc3165c1469f1d201123cf579964f33bbe4b65a6 /ipc/util.c
parent93fd63c2f001ca6797c6b15b696a484b165b4800 (diff)
downloadlinux-cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0.tar.gz
linux-cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0.tar.bz2
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 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions