From: Mark Fasheh Date: Tue, 17 Sep 2013 22:43:54 +0000 (-0700) Subject: btrfs: change extent-same to copy entire argument struct X-Git-Tag: v3.12-rc2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf8b8ca3ec799c11a4cbb29d812d84adf2990b0;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed